CMS 3D CMS Logo

BPHDecayToResFlyingBuilderBase.cc
Go to the documentation of this file.
1 /*
2  * See header file for a description of this class.
3  *
4  * \author Paolo Ronchese INFN Padova
5  *
6  */
7 
8 //-----------------------
9 // This Class' Header --
10 //-----------------------
12 
13 //-------------------------------
14 // Collaborating Class Headers --
15 //-------------------------------
20 
21 //---------------
22 // C++ Headers --
23 //---------------
24 using namespace std;
25 
26 //-------------------
27 // Initializations --
28 //-------------------
29 
30 //----------------
31 // Constructors --
32 //----------------
34  const string& resName,
35  double resMass,
36  double resWidth,
37  const string& flyName,
38  double flyMass,
39  double flyMSigma)
40  : BPHDecayGenericBuilderBase(es, nullptr),
41  BPHDecayConstrainedBuilderBase(resName, resMass, resWidth),
42  BPHDecayToFlyingCascadeBuilderBase(flyName, flyMass, flyMSigma) {}
43 
45 
46 //--------------
47 // Operations --
48 //--------------
52  addResCollection(brb);
53  addFlyCollection(brb);
54 
55  if (massSel->getMassMax() >= 0.0)
56  brb.filter(*massSel);
57 
59 
60  return;
61 }
virtual void addResCollection(BPHRecoBuilder &brb)=0
void setMinPDiffererence(double pMin)
void filter(const std::string &name, const BPHRecoSelect &sel) const
double getMassMax() const
Definition: BPHMassCuts.h:59
virtual void setup(void *parameters)=0
virtual void addFlyCollection(BPHRecoBuilder &brb)=0
void fill(BPHRecoBuilder &brb, void *parameters) override
build candidates