Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:50:19

0001 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHPhiToKKBuilder_h
0002 #define HeavyFlavorAnalysis_SpecificDecay_BPHPhiToKKBuilder_h
0003 /** \class BPHPhiToKKBuilder
0004  *
0005  *  Description: 
0006  *     Class to build Phi to K+ K- candidates
0007  *
0008  *  \author Paolo Ronchese INFN Padova
0009  *
0010  */
0011 
0012 //----------------------
0013 // Base Class Headers --
0014 //----------------------
0015 #include "HeavyFlavorAnalysis/SpecificDecay/interface/BPHDecayToChargedXXbarBuilder.h"
0016 
0017 //------------------------------------
0018 // Collaborating Class Declarations --
0019 //------------------------------------
0020 #include "HeavyFlavorAnalysis/SpecificDecay/interface/BPHDecayGenericBuilderBase.h"
0021 #include "HeavyFlavorAnalysis/SpecificDecay/interface/BPHParticleMasses.h"
0022 #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoBuilder.h"
0023 #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoCandidate.h"
0024 #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHPlusMinusCandidate.h"
0025 
0026 #include "FWCore/Framework/interface/EventSetup.h"
0027 
0028 class BPHEventSetupWrapper;
0029 
0030 //---------------
0031 // C++ Headers --
0032 //---------------
0033 #include <string>
0034 #include <vector>
0035 
0036 //              ---------------------
0037 //              -- Class Interface --
0038 //              ---------------------
0039 
0040 class BPHPhiToKKBuilder : public BPHDecayToChargedXXbarBuilder {
0041 public:
0042   /** Constructor
0043    */
0044   BPHPhiToKKBuilder(const BPHEventSetupWrapper& es,
0045                     const BPHRecoBuilder::BPHGenericCollection* posCollection,
0046                     const BPHRecoBuilder::BPHGenericCollection* negCollection)
0047       : BPHDecayGenericBuilderBase(es),
0048         BPHDecayToChargedXXbarBuilder(es,
0049                                       "KPos",
0050                                       "KNeg",
0051                                       BPHParticleMasses::kaonMass,
0052                                       BPHParticleMasses::kaonMSigma,
0053                                       posCollection,
0054                                       negCollection) {
0055     setPtMin(0.7);
0056     setEtaMax(10.0);
0057     setMassRange(1.00, 1.04);
0058     setProbMin(0.0);
0059   }
0060 
0061   // deleted copy constructor and assignment operator
0062   BPHPhiToKKBuilder(const BPHPhiToKKBuilder& x) = delete;
0063   BPHPhiToKKBuilder& operator=(const BPHPhiToKKBuilder& x) = delete;
0064 
0065   /** Destructor
0066    */
0067   ~BPHPhiToKKBuilder() override = default;
0068 };
0069 
0070 #endif