9 |
|
//------------------------------------------------------------------------------- |
10 |
|
|
11 |
|
|
12 |
– |
#include <vector> |
12 |
|
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h" |
13 |
|
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerEvmReadoutRecord.h" |
14 |
|
|
15 |
+ |
#include "L1AnalysisGTDataFormat.h" |
16 |
|
|
17 |
|
namespace L1Analysis |
18 |
|
{ |
19 |
< |
class L1AnalysisGT |
19 |
> |
class L1AnalysisGT |
20 |
|
{ |
21 |
|
public: |
22 |
|
L1AnalysisGT(); |
23 |
|
~L1AnalysisGT(); |
24 |
|
|
25 |
– |
void Reset(); |
25 |
|
void Set(const L1GlobalTriggerReadoutRecord* gtrr); |
26 |
< |
void SetEvm(const L1GlobalTriggerEvmReadoutRecord* gtevmrr); |
27 |
< |
|
28 |
< |
// ---- L1AnalysisGT information. |
29 |
< |
|
30 |
< |
std::vector<boost::uint64_t> gttw1; |
31 |
< |
std::vector<boost::uint64_t> gttw2; |
33 |
< |
std::vector<boost::uint64_t> gttt; |
34 |
< |
boost::uint32_t partrig_tcs; |
35 |
< |
boost::uint32_t gpsTimehi; |
36 |
< |
boost::uint32_t gpsTimelo; |
37 |
< |
boost::uint32_t bstMasterStatus; |
38 |
< |
boost::uint32_t bstturnCountNumber; |
39 |
< |
boost::uint32_t bstlhcFillNumber; |
40 |
< |
boost::uint32_t bstbeamMode; |
41 |
< |
boost::uint32_t bstparticleTypeBeam1; |
42 |
< |
boost::uint32_t bstparticleTypeBeam2; |
43 |
< |
boost::uint32_t bstbeamMomentum; |
44 |
< |
boost::uint32_t bsttotalIntensityBeam1; |
45 |
< |
boost::uint32_t bsttotalIntensityBeam2; |
46 |
< |
|
47 |
< |
//PSB info |
48 |
< |
int gtNele; |
49 |
< |
std::vector<int> gtBxel; |
50 |
< |
std::vector<float> gtRankel; |
51 |
< |
std::vector<float> gtPhiel; |
52 |
< |
std::vector<float> gtEtael; |
53 |
< |
std::vector<bool> gtIsoel; |
54 |
< |
|
55 |
< |
int gtNjet; |
56 |
< |
std::vector<int> gtBxjet; |
57 |
< |
std::vector<float> gtRankjet; |
58 |
< |
std::vector<float> gtPhijet; |
59 |
< |
std::vector<float> gtEtajet; |
60 |
< |
std::vector<bool> gtTaujet; |
61 |
< |
std::vector<bool> gtFwdjet; |
62 |
< |
|
26 |
> |
void SetEvm(const L1GlobalTriggerEvmReadoutRecord* gtevmrr); |
27 |
> |
void Reset() {gt_.Reset();} |
28 |
> |
L1AnalysisGTDataFormat* getData() {return >_;} |
29 |
> |
|
30 |
> |
private : |
31 |
> |
L1AnalysisGTDataFormat gt_; |
32 |
|
}; |
33 |
|
} |
34 |
|
#endif |