Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef ATOOLS_Phys_DIS_Algorithm_H
0002 #define ATOOLS_Phys_DIS_Algorithm_H
0003 
0004 #include "ATOOLS/Math/Vector.H"
0005 #include "ATOOLS/Phys/Particle_List.H"
0006 #include "AddOns/Analysis/Tools/Particle_Qualifier.H"
0007 #include "AddOns/Analysis/Triggers/Kt_Algorithm.H"
0008 #include <vector>
0009 
0010 using namespace ATOOLS;
0011 
0012 namespace ANALYSIS {
0013   
0014   class DIS_Algorithm : public Jet_Algorithm_Base  {
0015     int    m_mode;
0016     double m_ymin, m_r2min;
0017 
0018     int    m_matrixsize;
0019     double ** p_ktij;
0020     int    *  p_imap;
0021     double *  p_kis;
0022 
0023     ATOOLS::Vec4D m_p, m_q;
0024 
0025     Particle_List       * p_jets;
0026     std::vector<double> * p_kts;
0027 
0028     double R2(const Vec4D &p1) const;
0029     double R2(const Vec4D &p1, const Vec4D &p2) const;
0030       
0031     void AddToKtlist(double );
0032     void AddToJetlist(const Vec4D &, int);
0033   public:
0034     static double Kt2(const Vec4D & p);    
0035 
0036     DIS_Algorithm(ATOOLS::Particle_Qualifier_Base * const qualifier);
0037     ~DIS_Algorithm();
0038 
0039     void   Init(int);
0040     bool   ConstructJets(const Particle_List *,Particle_List * ,std::vector<double> * ,double);
0041 
0042     double Ktmin(Vec4D *,int *,int);
0043   };
0044 
0045 }
0046 
0047 #endif