Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:09:43

0001 #ifndef ANALYSIS_Triggers_MCFMCone_H
0002 #define ANALYSIS_Triggers_MCFMCone_H
0003 
0004 #include "AddOns/Analysis/Triggers/Kt_Algorithm.H"
0005 #include "ATOOLS/Phys/Particle_List.H"
0006 #include "ATOOLS/Math/Vector.H"
0007 #include "ATOOLS/Math/Histogram.H"
0008 #include <list>
0009 #include <vector>
0010 
0011 namespace ATOOLS {class ConeMCFM;}
0012 namespace ANALYSIS {
0013   class Primitive_Analysis;
0014 
0015   class MCFMCone : public Jet_Algorithm_Base {
0016 
0017     
0018     //   temporary variable to store the jet momenta
0019     ATOOLS::Particle_List       * p_jets;
0020     std::vector<double> * p_kts;
0021 
0022     double m_rsep;
0023 
0024     ATOOLS::ConeMCFM* p_ConeCluster;
0025 
0026     void AddToKtlist(double );
0027     void AddToJetlist(const ATOOLS::Vec4D &);
0028 
0029   public:
0030     MCFMCone(ATOOLS::Particle_Qualifier_Base * const qualifier,double f=.5);
0031     ~MCFMCone();
0032 
0033     bool ConstructJets(const ATOOLS::Particle_List * pl = 0,ATOOLS::Particle_List * jets = 0,
0034                std::vector<double> * kt2 = 0,double R=.7);
0035     int    NumberOfJets();
0036 
0037   };
0038 
0039 
0040 
0041   inline int    MCFMCone::NumberOfJets() { return p_jets->size(); }
0042 
0043   //
0044 }
0045 
0046 #endif