Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef __L1Analysis_L1AnalysisGMTDataFormat_H__
0002 #define __L1Analysis_L1AnalysisGMTDataFormat_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 L1AnalysisGMTDataFormat {
0015     L1AnalysisGMTDataFormat() { Reset(); };
0016     ~L1AnalysisGMTDataFormat() {}
0017 
0018     void Reset() {
0019       Ndt = 0;
0020       Ncsc = 0;
0021       Nrpcb = 0;
0022       Nrpcf = 0;
0023       N = 0;
0024 
0025       Bxdt.clear();
0026       Ptdt.clear();
0027       Chadt.clear();
0028       Etadt.clear();
0029       FineEtadt.clear();
0030       Phidt.clear();
0031       Qualdt.clear();
0032       Dwdt.clear();
0033       Chdt.clear();
0034 
0035       //CSC Trigger block
0036 
0037       Bxcsc.clear();
0038       Ptcsc.clear();
0039       Chacsc.clear();
0040       Etacsc.clear();
0041       Phicsc.clear();
0042       Qualcsc.clear();
0043       Dwcsc.clear();
0044 
0045       //RPCb Trigger
0046 
0047       Bxrpcb.clear();
0048       Ptrpcb.clear();
0049       Charpcb.clear();
0050       Etarpcb.clear();
0051       Phirpcb.clear();
0052       Qualrpcb.clear();
0053       Dwrpcb.clear();
0054 
0055       //RPCf Trigger
0056 
0057       Bxrpcf.clear();
0058       Ptrpcf.clear();
0059       Charpcf.clear();
0060       Etarpcf.clear();
0061       Phirpcf.clear();
0062       Qualrpcf.clear();
0063       Dwrpcf.clear();
0064 
0065       //Global Muon Trigger
0066 
0067       CandBx.clear();
0068       Pt.clear();
0069       Cha.clear();
0070       Eta.clear();
0071       Phi.clear();
0072 
0073       //RPCb Trigger
0074 
0075       Bxrpcb.clear();
0076       Ptrpcb.clear();
0077       Charpcb.clear();
0078       Etarpcb.clear();
0079       Phirpcb.clear();
0080       Qualrpcb.clear();
0081       Dwrpcb.clear();
0082 
0083       //RPCf Trigger
0084 
0085       Bxrpcf.clear();
0086       Ptrpcf.clear();
0087       Charpcf.clear();
0088       Etarpcf.clear();
0089       Phirpcf.clear();
0090       Qualrpcf.clear();
0091       Dwrpcf.clear();
0092 
0093       //Global Muon Trigger
0094 
0095       CandBx.clear();
0096       Pt.clear();
0097       Cha.clear();
0098       Eta.clear();
0099       Phi.clear();
0100       Qual.clear();
0101       Det.clear();
0102       Rank.clear();
0103       Isol.clear();
0104       Mip.clear();
0105       Dw.clear();
0106       IdxRPCb.clear();
0107       IdxRPCf.clear();
0108       IdxDTBX.clear();
0109       IdxCSC.clear();
0110     }
0111 
0112     // ---- General L1AnalysisGMTDataFormat information.
0113 
0114     int EvBx;
0115 
0116     //DTBX Trigger block
0117     int Ndt;
0118     std::vector<int> Bxdt;
0119     std::vector<float> Ptdt;
0120     std::vector<int> Chadt;
0121     std::vector<float> Etadt;
0122     std::vector<int> FineEtadt;
0123     std::vector<float> Phidt;
0124     std::vector<int> Qualdt;
0125     std::vector<int> Dwdt;
0126     std::vector<int> Chdt;
0127 
0128     //CSC Trigger block
0129     int Ncsc;
0130     std::vector<int> Bxcsc;
0131     std::vector<float> Ptcsc;
0132     std::vector<int> Chacsc;
0133     std::vector<float> Etacsc;
0134     std::vector<float> Phicsc;
0135     std::vector<int> Qualcsc;
0136     std::vector<int> Dwcsc;
0137 
0138     //RPCb Trigger
0139     int Nrpcb;
0140     std::vector<int> Bxrpcb;
0141     std::vector<float> Ptrpcb;
0142     std::vector<int> Charpcb;
0143     std::vector<float> Etarpcb;
0144     std::vector<float> Phirpcb;
0145     std::vector<int> Qualrpcb;
0146     std::vector<int> Dwrpcb;
0147 
0148     //RPCf Trigger
0149     int Nrpcf;
0150     std::vector<int> Bxrpcf;
0151     std::vector<float> Ptrpcf;
0152     std::vector<int> Charpcf;
0153     std::vector<float> Etarpcf;
0154     std::vector<float> Phirpcf;
0155     std::vector<int> Qualrpcf;
0156     std::vector<int> Dwrpcf;
0157 
0158     //Global Muon Trigger
0159     int N;
0160     std::vector<int> CandBx;
0161     std::vector<float> Pt;
0162     std::vector<int> Cha;
0163     std::vector<float> Eta;
0164     std::vector<float> Phi;
0165     std::vector<int> Qual;
0166     std::vector<int> Det;
0167     std::vector<int> Rank;
0168     std::vector<int> Isol;
0169     std::vector<int> Mip;
0170     std::vector<int> Dw;
0171     std::vector<int> IdxRPCb;
0172     std::vector<int> IdxRPCf;
0173     std::vector<int> IdxDTBX;
0174     std::vector<int> IdxCSC;
0175   };
0176 }  // namespace L1Analysis
0177 #endif