CMS 3D CMS Logo

BPHDecayToResTrkTrkSameMassBuilderBase.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayToResTrkTrkSameMassBuilderBase_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayToResTrkTrkSameMassBuilderBase_h
3 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
19 
20 //------------------------------------
21 // Collaborating Class Declarations --
22 //------------------------------------
26 
29 
30 //---------------
31 // C++ Headers --
32 //---------------
33 #include <string>
34 #include <vector>
35 
36 // ---------------------
37 // -- Class Interface --
38 // ---------------------
39 
41 public:
45  const std::string& resName,
46  double resMass,
47  double resWidth,
48  const std::string& posName,
49  const std::string& negName,
50  double trkMass,
51  double trkSigma,
52  const BPHRecoBuilder::BPHGenericCollection* posCollection,
53  const BPHRecoBuilder::BPHGenericCollection* negCollection);
54 
55  // deleted copy constructor and assignment operator
58 
61  ~BPHDecayToResTrkTrkSameMassBuilderBase() override = default;
62 
66  void setTrkPtMin(double pt);
68  void setTrkEtaMax(double eta);
69 
71  double getTrkPtMin() const { return ptMin; }
72  double getTrkEtaMax() const { return etaMax; }
73 
74 protected:
76  const std::string& negName,
77  double trkMass,
78  double trkSigma,
79  const BPHRecoBuilder::BPHGenericCollection* posCollection,
80  const BPHRecoBuilder::BPHGenericCollection* negCollection);
81 
84  double tMass;
85  double tSigma;
86 
89 
90  double ptMin;
91  double etaMax;
92 
93  void fillTrkTrkList();
94  std::vector<BPHPlusMinusConstCandPtr> ttPairs;
95 };
96 
97 #endif
const BPHRecoBuilder::BPHGenericCollection * pCollection
const BPHRecoBuilder::BPHGenericCollection * nCollection
~BPHDecayToResTrkTrkSameMassBuilderBase() override=default
common object to interface with edm collections
BPHDecayToResTrkTrkSameMassBuilderBase & operator=(const BPHDecayToResTrkTrkSameMassBuilderBase &x)=delete
BPHDecayToResTrkTrkSameMassBuilderBase(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &posName, const std::string &negName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)