1 |
#ifndef __PromptL1_PromptL1GT_H__
|
2 |
#define __PromptL1_PromptL1GT_H__
|
3 |
|
4 |
//-------------------------------------------------------------------------------
|
5 |
// Created 06/01/2010 - A.C. Le Bihan
|
6 |
//
|
7 |
//
|
8 |
// Original code : UserCode/L1TriggerDPG/L1NtupleProducer
|
9 |
//-------------------------------------------------------------------------------
|
10 |
|
11 |
|
12 |
#include <vector>
|
13 |
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
|
14 |
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerEvmReadoutRecord.h"
|
15 |
|
16 |
|
17 |
namespace PromptL1
|
18 |
{
|
19 |
class PromptL1GT
|
20 |
{
|
21 |
public:
|
22 |
PromptL1GT();
|
23 |
~PromptL1GT();
|
24 |
|
25 |
void Reset();
|
26 |
void Set(const L1GlobalTriggerReadoutRecord* gtrr);
|
27 |
void SetEvm(const L1GlobalTriggerEvmReadoutRecord* gtevmrr);
|
28 |
|
29 |
// ---- PromptL1GT information.
|
30 |
|
31 |
std::vector<boost::uint64_t> gttw1;
|
32 |
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 |
|
63 |
};
|
64 |
}
|
65 |
#endif
|
66 |
|
67 |
|