Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef __L1Analysis_L1AnalysisDTTFDataFormat_H__
0002 #define __L1Analysis_L1AnalysisDTTFDataFormat_H__
0003 
0004 //-------------------------------------------------------------------------------
0005 // Created 16/04/2010 - E. Conte, A.C. Le Bihan
0006 //
0007 //
0008 // Original code : L1Trigger/L1TNtuples/L1NtupleProducer
0009 //-------------------------------------------------------------------------------
0010 
0011 #include <vector>
0012 #include "TMatrixD.h"
0013 
0014 namespace L1Analysis {
0015   struct L1AnalysisDTTFDataFormat {
0016     L1AnalysisDTTFDataFormat() { Reset(); };
0017     ~L1AnalysisDTTFDataFormat() {}
0018 
0019     void Reset() {
0020       phSize = 0;
0021 
0022       phBx.clear();
0023       phWh.clear();
0024       phSe.clear();
0025       phSt.clear();
0026       phAng.clear();
0027       phGlobPhi.clear();  ///
0028       phBandAng.clear();
0029       phCode.clear();
0030       phX.clear();
0031       phY.clear();
0032 
0033       thSize = 0;
0034 
0035       thBx.clear();
0036       thWh.clear();
0037       thSe.clear();
0038       thSt.clear();
0039       thX.clear();
0040       thY.clear();
0041 
0042       trSize = 0;
0043 
0044       trBx.clear();
0045       trTag.clear();
0046       trQual.clear();
0047       trPtPck.clear();
0048       trPtVal.clear();
0049       trPhiPck.clear();
0050       trPhiVal.clear();
0051       trEtaPck.clear();
0052       trEtaVal.clear();
0053       trPhiGlob.clear();
0054       trChPck.clear();
0055       trWh.clear();
0056       trSc.clear();
0057       trAddress.clear();
0058 
0059       thTheta.Clear();
0060       thCode.Clear();
0061     }
0062 
0063     // ---- L1AnalysisDTTFDataFormat information.
0064 
0065     int phSize;
0066     std::vector<int> phBx;
0067     std::vector<int> phWh;
0068     std::vector<int> phSe;
0069     std::vector<int> phSt;
0070     std::vector<float> phAng;
0071     std::vector<double> phGlobPhi;
0072     std::vector<float> phBandAng;
0073     std::vector<int> phCode;
0074     std::vector<float> phX;
0075     std::vector<float> phY;
0076 
0077     int thSize;
0078     std::vector<int> thBx;
0079     std::vector<int> thWh;
0080     std::vector<int> thSe;
0081     std::vector<int> thSt;
0082     std::vector<float> thX;
0083     std::vector<float> thY;
0084 
0085     TMatrixD thTheta;
0086     TMatrixD thCode;
0087 
0088     int trSize;
0089     std::vector<int> trBx;
0090     std::vector<int> trTag;
0091     std::vector<int> trQual;
0092     std::vector<int> trPtPck;
0093     std::vector<float> trPtVal;
0094     std::vector<int> trPhiPck;
0095     std::vector<float> trPhiVal;
0096     std::vector<int> trEtaPck;
0097     std::vector<float> trEtaVal;
0098     std::vector<double> trPhiGlob;
0099     std::vector<int> trChPck;
0100     std::vector<int> trWh;
0101     std::vector<int> trSc;
0102     std::vector<unsigned int> trAddress;
0103   };
0104 }  // namespace L1Analysis
0105 #endif