Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:23:29

0001 #ifndef __L1Analysis_L1AnalysisRecoMuon2DataFormat_H__
0002 #define __L1Analysis_L1AnalysisRecoMuon2DataFormat_H__
0003 
0004 //-------------------------------------------------------------------------------
0005 // Created 20/04/2010 - E. Conte, A.C. Le Bihan
0006 //
0007 //
0008 // Original code : L1Trigger/L1TNtuples/L1RecoMuon2NtupleProducer - Jim Brooke
0009 //-------------------------------------------------------------------------------
0010 
0011 #include <vector>
0012 
0013 namespace L1Analysis {
0014   struct L1AnalysisRecoMuon2DataFormat {
0015     L1AnalysisRecoMuon2DataFormat() { Reset(); };
0016     ~L1AnalysisRecoMuon2DataFormat() { Reset(); };
0017 
0018     void Reset() {
0019       nMuons = 0;
0020 
0021       e.clear();
0022       et.clear();
0023       pt.clear();
0024       eta.clear();
0025       phi.clear();
0026       isLooseMuon.clear();
0027       isMediumMuon.clear();
0028       isTightMuon.clear();
0029       iso.clear();
0030       hlt_isomu.clear();
0031       hlt_mu.clear();
0032       hlt_isoDeltaR.clear();
0033       hlt_deltaR.clear();
0034       passesSingleMuon.clear();
0035       charge.clear();
0036       mt.clear();
0037       met.clear();
0038       etaSt1.clear();
0039       phiSt1.clear();
0040       etaSt2.clear();
0041       phiSt2.clear();
0042     }
0043 
0044     unsigned short nMuons;
0045     std::vector<float> e;
0046     std::vector<float> et;
0047     std::vector<float> pt;
0048     std::vector<float> eta;
0049     std::vector<float> phi;
0050     std::vector<bool> isLooseMuon;
0051     std::vector<bool> isMediumMuon;
0052     std::vector<bool> isTightMuon;
0053     std::vector<float> iso;
0054     std::vector<short> hlt_isomu;
0055     std::vector<short> hlt_mu;
0056     std::vector<float> hlt_isoDeltaR;
0057     std::vector<float> hlt_deltaR;
0058     std::vector<int> passesSingleMuon;
0059     std::vector<int> charge;
0060     std::vector<double> met;
0061     std::vector<double> mt;
0062     std::vector<float> etaSt1;
0063     std::vector<float> phiSt1;
0064     std::vector<float> etaSt2;
0065     std::vector<float> phiSt2;
0066   };
0067 }  // namespace L1Analysis
0068 #endif