CMS 3D CMS Logo

ConvBremPFTrackFinder.h
Go to the documentation of this file.
1 
2 #include <memory>
3 
4 // user include files
6 
26 #include "TMVA/Reader.h"
27 
29 #include <memory>
30 
32 
34 
36 public:
38  double mvaBremConvCutBarrelLowPt,
39  double mvaBremConvCutBarrelHighPt,
40  double mvaBremConvCutEndcapsLowPt,
41  double mvaBremConvCutEndcapsHighPt);
43 
50  bool useNuclear,
51  bool useConversions,
52  bool useV0,
53  const reco::PFClusterCollection& theEClus,
54  const reco::GsfPFRecTrack& gsfpfrectk) {
55  found_ = false;
56  runConvBremFinder(thePfRecTrackCol,
58  pfNuclears,
60  pfV0,
61  cache,
62  useNuclear,
64  useV0,
65  theEClus,
66  gsfpfrectk);
67  return found_;
68  };
69 
70  const std::vector<reco::PFRecTrackRef>& getConvBremPFRecTracks() { return pfRecTrRef_vec_; };
71 
72 private:
79  bool useNuclear,
80  bool useConversions,
81  bool useV0,
82  const reco::PFClusterCollection& theEClus,
83  const reco::GsfPFRecTrack& gsfpfrectk);
84 
85  bool found_;
89 
90  std::vector<reco::PFRecTrackRef> pfRecTrRef_vec_;
92  //int nHITS1;
93  float nHITS1;
94 };
reco::PFClusterCollection
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
Definition: PFClusterFwd.h:9
RecoParticleFlow_conversion_cff.useConversions
useConversions
Definition: RecoParticleFlow_conversion_cff.py:8
PFDisplacedVertexFwd.h
Handle.h
ConvBremPFTrackFinder::ptRatioGsfKF
float ptRatioGsfKF
Definition: ConvBremPFTrackFinder.h:91
PFConversionFwd.h
ConvBremPFTrackFinder::detaBremKF
float detaBremKF
Definition: ConvBremPFTrackFinder.h:91
PFV0Fwd.h
ConvBremPFTrackFinder::pfRecTrRef_vec_
std::vector< reco::PFRecTrackRef > pfRecTrRef_vec_
Definition: ConvBremPFTrackFinder.h:90
ConvBremPFTrackFinder::mvaBremConvCutEndcapsHighPt_
double mvaBremConvCutEndcapsHighPt_
Definition: ConvBremPFTrackFinder.h:87
ConvBremHeavyObjectCache.h
GBRForest.h
edm::Handle
Definition: AssociativeIterator.h:50
ConvBremPFTrackFinder::runConvBremFinder
void runConvBremFinder(const edm::Handle< reco::PFRecTrackCollection > &thePfRecTrackCol, const edm::Handle< reco::VertexCollection > &primaryVertex, const edm::Handle< reco::PFDisplacedTrackerVertexCollection > &pfNuclears, const edm::Handle< reco::PFConversionCollection > &pfConversions, const edm::Handle< reco::PFV0Collection > &pfV0, const convbremhelpers::HeavyObjectCache *cache, bool useNuclear, bool useConversions, bool useV0, const reco::PFClusterCollection &theEClus, const reco::GsfPFRecTrack &gsfpfrectk)
Definition: ConvBremPFTrackFinder.cc:33
RecoParticleFlow_cff.useNuclear
useNuclear
Definition: RecoParticleFlow_cff.py:81
reco::GsfPFRecTrack
Definition: GsfPFRecTrack.h:24
BeamMonitor_cff.primaryVertex
primaryVertex
hltOfflineBeamSpot for HLTMON
Definition: BeamMonitor_cff.py:7
ConvBremPFTrackFinder::ConvBremPFTrackFinder
ConvBremPFTrackFinder(const TransientTrackBuilder &builder, double mvaBremConvCutBarrelLowPt, double mvaBremConvCutBarrelHighPt, double mvaBremConvCutEndcapsLowPt, double mvaBremConvCutEndcapsHighPt)
Definition: ConvBremPFTrackFinder.cc:21
MakerMacros.h
PFEnergyCalibration
Definition: PFEnergyCalibration.h:42
ConvBremPFTrackFinder::mvaBremConvCutBarrelLowPt_
double mvaBremConvCutBarrelLowPt_
Definition: ConvBremPFTrackFinder.h:87
ConvBremPFTrackFinder::nHITS1
float nHITS1
Definition: ConvBremPFTrackFinder.h:93
PFCluster.h
PFConversion.h
ConvBremPFTrackFinder
Definition: ConvBremPFTrackFinder.h:35
utilities.cache
def cache(function)
Definition: utilities.py:3
Vertex.h
TransientTrackBuilder.h
pfV0_cfi.pfV0
pfV0
Definition: pfV0_cfi.py:3
Event.h
ConvBremPFTrackFinder::secPin
float secPin
Definition: ConvBremPFTrackFinder.h:91
PFDisplacedVertex.h
ConvBremPFTrackFinder::sTIP
float sTIP
Definition: ConvBremPFTrackFinder.h:91
PFDisplacedTrackerVertex.h
ConvBremPFTrackFinder::foundConvBremPFRecTrack
bool foundConvBremPFRecTrack(const edm::Handle< reco::PFRecTrackCollection > &thePfRecTrackCol, const edm::Handle< reco::VertexCollection > &primaryVertex, const edm::Handle< reco::PFDisplacedTrackerVertexCollection > &pfNuclears, const edm::Handle< reco::PFConversionCollection > &pfConversions, const edm::Handle< reco::PFV0Collection > &pfV0, const convbremhelpers::HeavyObjectCache *cache, bool useNuclear, bool useConversions, bool useV0, const reco::PFClusterCollection &theEClus, const reco::GsfPFRecTrack &gsfpfrectk)
Definition: ConvBremPFTrackFinder.h:44
ConvBremPFTrackFinder::mvaBremConvCutBarrelHighPt_
double mvaBremConvCutBarrelHighPt_
Definition: ConvBremPFTrackFinder.h:87
PFClusterFwd.h
ConvBremPFTrackFinder::builder_
TransientTrackBuilder builder_
Definition: ConvBremPFTrackFinder.h:86
TransientTrackBuilder
Definition: TransientTrackBuilder.h:16
convbremhelpers::HeavyObjectCache
Definition: ConvBremHeavyObjectCache.h:10
pfConversions_cfi.pfConversions
pfConversions
Definition: pfConversions_cfi.py:6
pfTrackElec_cfi.useV0
useV0
Definition: pfTrackElec_cfi.py:29
ConvBremPFTrackFinder::found_
bool found_
Definition: ConvBremPFTrackFinder.h:85
PFRecTrack.h
PFV0.h
VertexFwd.h
ConvBremPFTrackFinder::getConvBremPFRecTracks
const std::vector< reco::PFRecTrackRef > & getConvBremPFRecTracks()
Definition: ConvBremPFTrackFinder.h:70
Frameworkfwd.h
ConvBremPFTrackFinder::mvaBremConvCutEndcapsLowPt_
double mvaBremConvCutEndcapsLowPt_
Definition: ConvBremPFTrackFinder.h:87
PFRecTrackFwd.h
ConvBremPFTrackFinder::secPout
float secPout
Definition: ConvBremPFTrackFinder.h:91
ConvBremPFTrackFinder::Epout
float Epout
Definition: ConvBremPFTrackFinder.h:91
GsfPFRecTrackFwd.h
ConvBremPFTrackFinder::~ConvBremPFTrackFinder
~ConvBremPFTrackFinder()
Definition: ConvBremPFTrackFinder.cc:31
GsfPFRecTrack.h
ConvBremPFTrackFinder::secR
float secR
Definition: ConvBremPFTrackFinder.h:91