ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisDTTFDataFormat.h
Revision: 1.3
Committed: Tue Aug 10 15:32:07 2010 UTC (14 years, 8 months ago) by guiducci
Content type: text/plain
Branch: MAIN
CVS Tags: L1TriggerAnalysis_3_6_1patch4
Changes since 1.2: +11 -10 lines
Log Message:
DTTF eta and track addresses saved

File Contents

# User Rev Content
1 econte 1.1 #ifndef __L1Analysis_L1AnalysisDTTFDataFormat_H__
2     #define __L1Analysis_L1AnalysisDTTFDataFormat_H__
3    
4     //-------------------------------------------------------------------------------
5     // Created 16/04/2010 - E. Conte, A.C. Le Bihan
6     //
7     //
8     // Original code : UserCode/L1TriggerDPG/L1NtupleProducer
9     //-------------------------------------------------------------------------------
10    
11     #include <vector>
12     #include "TMatrixD.h"
13    
14    
15     namespace L1Analysis
16     {
17     struct L1AnalysisDTTFDataFormat
18     {
19    
20     L1AnalysisDTTFDataFormat(){Reset();};
21     ~L1AnalysisDTTFDataFormat(){};
22    
23     void Reset()
24     {
25    
26     phSize = 0;
27    
28     phBx.clear();
29     phWh.clear();
30     phSe.clear();
31     phSt.clear();
32     phAng.clear();
33     phBandAng.clear();
34     phCode.clear();
35     phX.clear();
36     phY.clear();
37    
38    
39     thSize = 0;
40    
41     thBx.clear();
42     thWh.clear();
43     thSe.clear();
44     thSt.clear();
45     thX.clear();
46     thY.clear();
47    
48    
49     trSize = 0;
50    
51     trBx.clear();
52     trTag.clear();
53     trQual.clear();
54     trPtPck.clear();
55     trPtVal.clear();
56     trPhiPck.clear();
57     trPhiVal.clear();
58     trPhiGlob.clear();
59     trChPck.clear();
60     trWh.clear();
61     trSc.clear();
62    
63     thTheta.Clear();
64     thCode.Clear();
65     }
66    
67     // ---- L1AnalysisDTTFDataFormat information.
68    
69     int phSize;
70 guiducci 1.3 std::vector<int> phBx;
71     std::vector<int> phWh;
72     std::vector<int> phSe;
73     std::vector<int> phSt;
74     std::vector<float> phAng;
75     std::vector<double> phGlobPhi;
76     std::vector<float> phBandAng;
77     std::vector<int> phCode;
78     std::vector<float> phX;
79     std::vector<float> phY;
80 econte 1.1
81     int thSize;
82     std::vector<int> thBx;
83     std::vector<int> thWh;
84     std::vector<int> thSe;
85     std::vector<int> thSt;
86     std::vector<float> thX;
87     std::vector<float> thY;
88    
89     TMatrixD thTheta;
90     TMatrixD thCode;
91    
92     int trSize;
93     std::vector<int> trBx;
94     std::vector<int> trTag;
95     std::vector<int> trQual;
96     std::vector<int> trPtPck;
97     std::vector<float> trPtVal;
98     std::vector<int> trPhiPck;
99     std::vector<float> trPhiVal;
100 guiducci 1.2 std::vector<double>trPhiGlob;
101 econte 1.1 std::vector<int> trChPck;
102     std::vector<int> trWh;
103     std::vector<int> trSc;
104 guiducci 1.3 std::vector<unsigned int> trAddress;
105 econte 1.1 };
106     }
107     #endif
108    
109