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 
37  public:
39  double mvaBremConvCutBarrelLowPt,
40  double mvaBremConvCutBarrelHighPt,
41  double mvaBremConvCutEndcapsLowPt,
42  double mvaBremConvCutEndcapsHighPt);
44 
51  bool useNuclear,
52  bool useConversions,
53  bool useV0,
54  const reco::PFClusterCollection & theEClus,
55  const reco::GsfPFRecTrack& gsfpfrectk)
56  {
57  found_ = false;
58  runConvBremFinder(thePfRecTrackCol,primaryVertex,
59  pfNuclears,pfConversions,
60  pfV0,cache,useNuclear,
61  useConversions,useV0,
62  theEClus,gsfpfrectk);
63  return found_;};
64 
65 
66  const std::vector<reco::PFRecTrackRef>& getConvBremPFRecTracks() {return pfRecTrRef_vec_;};
67 
68  private:
75  bool useNuclear,
76  bool useConversions,
77  bool useV0,
78  const reco::PFClusterCollection & theEClus,
79  const reco::GsfPFRecTrack& gsfpfrectk);
80 
81 
82 
83  bool found_;
86 
87  std::vector<reco::PFRecTrackRef> pfRecTrRef_vec_;
89  //int nHITS1;
90  float nHITS1;
91 
92 };
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)
const std::vector< reco::PFRecTrackRef > & getConvBremPFRecTracks()
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)
TransientTrackBuilder builder_
std::vector< reco::PFRecTrackRef > pfRecTrRef_vec_
ConvBremPFTrackFinder(const TransientTrackBuilder &builder, double mvaBremConvCutBarrelLowPt, double mvaBremConvCutBarrelHighPt, double mvaBremConvCutEndcapsLowPt, double mvaBremConvCutEndcapsHighPt)
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
Definition: PFClusterFwd.h:9