CMS 3D CMS Logo

BPHDecayToFlyingCascadeBuilderBase.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayToFlyingCascadeBuilderBase_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayToFlyingCascadeBuilderBase_h
3 
13 //----------------------
14 // Base Class Headers --
15 //----------------------
18 
19 //------------------------------------
20 // Collaborating Class Declarations --
21 //------------------------------------
23 
25 class BPHRecoBuilder;
26 
27 //---------------
28 // C++ Headers --
29 //---------------
30 #include <string>
31 #include <vector>
32 
33 // ---------------------
34 // -- Class Interface --
35 // ---------------------
36 
38  public virtual BPHDecayGenericBuilderBase {
39 public:
43  const std::string& flyName,
44  double flyMass,
45  double flyMSigma);
46 
47  // deleted copy constructor and assignment operator
50 
54 
57  const std::map<const BPHRecoCandidate*, const BPHRecoCandidate*>& daughMap() const { return dMap; }
59 
61  void setFlyingMassMin(double m);
62  void setFlyingMassMax(double m);
63  void setFlyingMassRange(double mMin, double mMax);
64  void setKinFitProbMin(double p);
65 
67  double getFlyingMassMin() const { return flySel->getMassMin(); }
68  double getFlyingMassMax() const { return flySel->getMassMax(); }
69  double getKinFitProbMin() const { return kfChi2Sel->getProbMin(); }
70 
71 protected:
72  BPHDecayToFlyingCascadeBuilderBase(const std::string& flyName, double flyMass, double flyMSigma);
74 
76  double fMass;
77  double fMSigma;
78 
81 
82  std::map<const BPHRecoCandidate*, const BPHRecoCandidate*> dMap;
83 
84  virtual void addFlyCollection(BPHRecoBuilder& brb) = 0;
85 };
86 
87 #endif
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > dMap
double getProbMin() const
get current prob min
double getMassMax() const
Definition: BPHMassCuts.h:59
virtual void addFlyCollection(BPHRecoBuilder &brb)=0
BPHDecayToFlyingCascadeBuilderBase & operator=(const BPHDecayToFlyingCascadeBuilderBase &x)=delete
const std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > & daughMap() const
get original daughters map