CMS 3D CMS Logo

ConvBremPFTrackFinder.h
Go to the documentation of this file.
1 // user include files
3 
23 #include "TMVA/Reader.h"
24 
26 #include <memory>
27 
29 
31 
33 public:
35  double mvaBremConvCutBarrelLowPt,
36  double mvaBremConvCutBarrelHighPt,
37  double mvaBremConvCutEndcapsLowPt,
38  double mvaBremConvCutEndcapsHighPt);
40 
47  bool useNuclear,
48  bool useConversions,
49  bool useV0,
50  const reco::PFClusterCollection& theEClus,
51  const reco::GsfPFRecTrack& gsfpfrectk) {
52  found_ = false;
53  runConvBremFinder(thePfRecTrackCol,
55  pfNuclears,
57  pfV0,
58  cache,
59  useNuclear,
61  useV0,
62  theEClus,
63  gsfpfrectk);
64  return found_;
65  };
66 
67  const std::vector<reco::PFRecTrackRef>& getConvBremPFRecTracks() { return pfRecTrRef_vec_; };
68 
69 private:
76  bool useNuclear,
77  bool useConversions,
78  bool useV0,
79  const reco::PFClusterCollection& theEClus,
80  const reco::GsfPFRecTrack& gsfpfrectk);
81 
82  bool found_;
86 
87  std::vector<reco::PFRecTrackRef> pfRecTrRef_vec_;
89  //int nHITS1;
90  float nHITS1;
91 };
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:88
PFConversionFwd.h
ConvBremPFTrackFinder::detaBremKF
float detaBremKF
Definition: ConvBremPFTrackFinder.h:88
PFV0Fwd.h
ConvBremPFTrackFinder::pfRecTrRef_vec_
std::vector< reco::PFRecTrackRef > pfRecTrRef_vec_
Definition: ConvBremPFTrackFinder.h:87
ConvBremPFTrackFinder::mvaBremConvCutEndcapsHighPt_
double mvaBremConvCutEndcapsHighPt_
Definition: ConvBremPFTrackFinder.h:84
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:96
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:84
ConvBremPFTrackFinder::nHITS1
float nHITS1
Definition: ConvBremPFTrackFinder.h:90
PFCluster.h
PFConversion.h
ConvBremPFTrackFinder
Definition: ConvBremPFTrackFinder.h:32
utilities.cache
def cache(function)
Definition: utilities.py:3
TransientTrackBuilder.h
pfV0_cfi.pfV0
pfV0
Definition: pfV0_cfi.py:3
Event.h
ConvBremPFTrackFinder::secPin
float secPin
Definition: ConvBremPFTrackFinder.h:88
PFDisplacedVertex.h
ConvBremPFTrackFinder::sTIP
float sTIP
Definition: ConvBremPFTrackFinder.h:88
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:41
ConvBremPFTrackFinder::mvaBremConvCutBarrelHighPt_
double mvaBremConvCutBarrelHighPt_
Definition: ConvBremPFTrackFinder.h:84
PFClusterFwd.h
ConvBremPFTrackFinder::builder_
TransientTrackBuilder builder_
Definition: ConvBremPFTrackFinder.h:83
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:82
PFRecTrack.h
PFV0.h
VertexFwd.h
ConvBremPFTrackFinder::getConvBremPFRecTracks
const std::vector< reco::PFRecTrackRef > & getConvBremPFRecTracks()
Definition: ConvBremPFTrackFinder.h:67
Vertex.h
Frameworkfwd.h
ConvBremPFTrackFinder::mvaBremConvCutEndcapsLowPt_
double mvaBremConvCutEndcapsLowPt_
Definition: ConvBremPFTrackFinder.h:84
PFRecTrackFwd.h
ConvBremPFTrackFinder::secPout
float secPout
Definition: ConvBremPFTrackFinder.h:88
ConvBremPFTrackFinder::Epout
float Epout
Definition: ConvBremPFTrackFinder.h:88
GsfPFRecTrackFwd.h
ConvBremPFTrackFinder::~ConvBremPFTrackFinder
~ConvBremPFTrackFinder()
Definition: ConvBremPFTrackFinder.cc:31
GsfPFRecTrack.h
ConvBremPFTrackFinder::secR
float secR
Definition: ConvBremPFTrackFinder.h:88