Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-08 01:45:55

0001 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHPsi2SToJPsiPiPiBuilder_h
0002 #define HeavyFlavorAnalysis_SpecificDecay_BPHPsi2SToJPsiPiPiBuilder_h
0003 /** \class BPHPsi2SToJPsiPiPiBuilder
0004  *
0005  *  Description: 
0006  *     Class to build X3872 to JPsi pi+ pi- candidates
0007  *
0008  *  \author Paolo Ronchese INFN Padova
0009  *
0010  */
0011 
0012 //----------------------
0013 // Base Class Headers --
0014 //----------------------
0015 #include "HeavyFlavorAnalysis/SpecificDecay/interface/BPHDecayToJPsiPiPiBuilder.h"
0016 
0017 //------------------------------------
0018 // Collaborating Class Declarations --
0019 //------------------------------------
0020 #include "HeavyFlavorAnalysis/SpecificDecay/interface/BPHDecayGenericBuilderBase.h"
0021 #include "HeavyFlavorAnalysis/SpecificDecay/interface/BPHDecayConstrainedBuilderBase.h"
0022 #include "HeavyFlavorAnalysis/SpecificDecay/interface/BPHParticleMasses.h"
0023 #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoBuilder.h"
0024 #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoCandidate.h"
0025 #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHPlusMinusCandidate.h"
0026 
0027 #include "FWCore/Framework/interface/EventSetup.h"
0028 
0029 class BPHEventSetupWrapper;
0030 
0031 //---------------
0032 // C++ Headers --
0033 //---------------
0034 #include <string>
0035 #include <vector>
0036 #include <vector>
0037 //              ---------------------
0038 //              -- Class Interface --
0039 //              ---------------------
0040 
0041 class BPHPsi2SToJPsiPiPiBuilder : public BPHDecayToJPsiPiPiBuilder {
0042 public:
0043   /** Constructor
0044    */
0045   BPHPsi2SToJPsiPiPiBuilder(const BPHEventSetupWrapper& es,
0046                             const std::vector<BPHPlusMinusConstCandPtr>& jpsiCollection,
0047                             const BPHRecoBuilder::BPHGenericCollection* posCollection,
0048                             const BPHRecoBuilder::BPHGenericCollection* negCollection)
0049       : BPHDecayGenericBuilderBase(es, nullptr),
0050         BPHDecayToJPsiPiPiBuilder(jpsiCollection, posCollection, negCollection) {
0051     setResMassRange(2.80, 3.40);
0052     setTrkPtMin(1.0);
0053     setTrkEtaMax(10.0);
0054     setMassRange(3.00, 4.50);
0055     setProbMin(0.02);
0056     setMassFitRange(3.50, 3.80);
0057   }
0058 
0059   // deleted copy constructor and assignment operator
0060   BPHPsi2SToJPsiPiPiBuilder(const BPHPsi2SToJPsiPiPiBuilder& x) = delete;
0061   BPHPsi2SToJPsiPiPiBuilder& operator=(const BPHPsi2SToJPsiPiPiBuilder& x) = delete;
0062 
0063   /** Destructor
0064    */
0065   ~BPHPsi2SToJPsiPiPiBuilder() override = default;
0066 };
0067 
0068 #endif