Main Page   Class Hierarchy   Compound List   File List   Compound Members  

eid.h

00001 /*
00002   Author: Junichi Tanaka (Junichi.Tanaka@cern.ch)
00003   Date  : 2003/11/18
00004 */
00005 
00006 #ifndef EID_EID_H
00007 #define EID_EID_H
00008 #include <TROOT.h>
00009 #include <iostream>
00010 #include <vector>
00011 
00012 class Particle;
00013 
00014 class eid
00015 {
00016  public:
00017   eid() { std::cerr << "[warn] no data for eid." << std::endl; }
00018   
00019   eid(Int_t *ntrk, Int_t *pattern, Float_t *a0Vert,
00020       Int_t *EG_nc, Float_t *EG_et, Float_t *EG_eta, Float_t *EG_Etha1,
00021       Int_t *EG_IsEM, 
00022       Int_t *EG_trkmatch_X, Float_t *EG_eoverp_X, Float_t *EG_deta1_X,
00023       Float_t *EG_deta2_X, Float_t *EG_dphi2_X,
00024       Int_t *EG_trkmatch_I, Float_t *EG_eoverp_I, Float_t *EG_deta1_I,
00025       Float_t *EG_deta2_I, Float_t *EG_dphi2_I
00026       ) :
00027     m_mode(1),
00028     NTrk(ntrk), Pattern(pattern), A0Vert(a0Vert),
00029     eg_nc(EG_nc), eg_et(EG_et), eg_eta(EG_eta), eg_Etha1(EG_Etha1),
00030     eg_IsEM(EG_IsEM), 
00031     eg_trkmatch_X(EG_trkmatch_X), eg_eoverp_X(EG_eoverp_X), eg_deta1_X(EG_deta1_X),
00032     eg_deta2_X(EG_deta2_X), eg_dphi2_X(EG_dphi2_X),
00033     eg_trkmatch_I(EG_trkmatch_I), eg_eoverp_I(EG_eoverp_I), eg_deta1_I(EG_deta1_I),
00034     eg_deta2_I(EG_deta2_I), eg_dphi2_I(EG_dphi2_I)
00035     {};
00036 
00037   eid(const eid &x) { *this = x; }
00038   virtual ~eid() {};
00039   
00040   eid & operator = (const eid &);
00041   
00042   void setMode(int m) { m_mode = m; }
00043 
00044   void setIsoElec(Particle *elec);
00045   void setIsoElec(std::vector<Particle*> &elecList);
00046   bool isIsoElec(Particle *elec);
00047 
00048   void dump() {
00049     std::cout << "*** eid" << std::endl;
00050     std::cout << "*** mode : " << m_mode << std::endl;
00051     std::cout << "***    1 = DC1 from e/gamma group, xKalman" << std::endl;
00052     std::cout << "***    2 = DC1 from e/gamma group, iPatRec" << std::endl;
00053     std::cout << "***    3 = SUSY group, F.Paige sample, xKalman" << std::endl;
00054     std::cout << "***    4 = SUSY group, F.Paige sample, iPatRec" << std::endl;
00055   }
00056 
00057  private:
00058   int m_mode;
00059   
00060   Int_t           *NTrk;
00061   Int_t           *Pattern; //[NTrk]
00062   Float_t         *A0Vert; //[NTrk]
00063   Int_t           *eg_nc;
00064   Float_t         *eg_et; //[eg_nc]
00065   Float_t         *eg_eta; //[eg_nc]
00066   Float_t         *eg_Etha1; //[eg_nc]
00067   Int_t           *eg_IsEM; //[eg_nc]
00068   Int_t           *eg_trkmatch_X; //[eg_nc]
00069   Float_t         *eg_eoverp_X; //[eg_nc]
00070   Float_t         *eg_deta1_X; //[eg_nc]
00071   Float_t         *eg_deta2_X; //[eg_nc]
00072   Float_t         *eg_dphi2_X; //[eg_nc]
00073   Int_t           *eg_trkmatch_I; //[eg_nc]
00074   Float_t         *eg_eoverp_I; //[eg_nc]
00075   Float_t         *eg_deta1_I; //[eg_nc]
00076   Float_t         *eg_deta2_I; //[eg_nc]
00077   Float_t         *eg_dphi2_I; //[eg_nc]
00078 };
00079 
00080 #endif // EID_EID_H

Generated on Tue Apr 13 13:25:32 2004 for ATLAS JAPAN by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002