CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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,
54  primaryVertex,
55  pfNuclears,
56  pfConversions,
57  pfV0,
58  cache,
59  useNuclear,
60  useConversions,
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 };
tuple pfV0
Definition: pfV0_cfi.py:3
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
def cache
Definition: utilities.py:3