Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:37:00

0001 #ifndef __L1Analysis_L1AnalysisCaloTPDataFormat_H__
0002 #define __L1Analysis_L1AnalysisCaloTPDataFormat_H__
0003 
0004 //-------------------------------------------------------------------------------
0005 // Created 20/04/2010 - E. Conte, A.C. Le Bihan
0006 //
0007 //
0008 // Original code : L1Trigger/L1TNtuples/L1NtupleProducer
0009 //-------------------------------------------------------------------------------
0010 
0011 #include <vector>
0012 
0013 namespace L1Analysis {
0014   struct L1AnalysisCaloTPDataFormat {
0015     L1AnalysisCaloTPDataFormat() { Reset(); };
0016     ~L1AnalysisCaloTPDataFormat() {}
0017 
0018     void Reset() {
0019       nHCALTP = 0;
0020       hcalTPieta.clear();
0021       hcalTPiphi.clear();
0022       hcalTPCaliphi.clear();
0023       hcalTPet.clear();
0024       hcalTPcompEt.clear();
0025       hcalTPfineGrain.clear();
0026       nECALTP = 0;
0027       ecalTPieta.clear();
0028       ecalTPiphi.clear();
0029       ecalTPCaliphi.clear();
0030       ecalTPet.clear();
0031       ecalTPcompEt.clear();
0032       ecalTPfineGrain.clear();
0033     }
0034 
0035     void Init() {}
0036 
0037     short nHCALTP;
0038     std::vector<short> hcalTPieta;
0039     std::vector<short> hcalTPiphi;
0040     std::vector<short> hcalTPCaliphi;
0041     std::vector<float> hcalTPet;
0042     std::vector<short> hcalTPcompEt;
0043     std::vector<short> hcalTPfineGrain;
0044 
0045     short nECALTP;
0046     std::vector<short> ecalTPieta;
0047     std::vector<short> ecalTPiphi;
0048     std::vector<short> ecalTPCaliphi;
0049     std::vector<float> ecalTPet;
0050     std::vector<short> ecalTPcompEt;
0051     std::vector<short> ecalTPfineGrain;
0052   };
0053 }  // namespace L1Analysis
0054 #endif