1 |
konec |
1.1 |
#ifndef UserCode_L1RpcTriggerAnalysis_AnaEvent_H
|
2 |
|
|
#define UserCode_L1RpcTriggerAnalysis_AnaEvent_H
|
3 |
|
|
|
4 |
|
|
class EventObj;
|
5 |
|
|
class TObjArray;
|
6 |
|
|
namespace edm { class ParameterSet; }
|
7 |
|
|
|
8 |
|
|
#include <map>
|
9 |
|
|
#include <vector>
|
10 |
|
|
#include <bitset>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
class AnaEvent {
|
14 |
|
|
public:
|
15 |
|
|
AnaEvent(const edm::ParameterSet& cfg);
|
16 |
|
|
void init(TObjArray& histos);
|
17 |
|
|
bool filter(EventObj* ev);
|
18 |
|
|
void resume(TObjArray& histos);
|
19 |
|
|
bool debug;
|
20 |
|
|
private:
|
21 |
|
|
std::vector<unsigned int> theSkipRuns;
|
22 |
|
|
std::bitset<3564> theValidBX;
|
23 |
|
|
std::map< std::pair<unsigned int, unsigned int>, uint64_t> theRunEvent;
|
24 |
|
|
bool theUseValidBX_ONLY, theUseValidBX_NoBxMinus2_ONLY, theUseValidBX_NoBxPlus2_ONLY;
|
25 |
|
|
};
|
26 |
|
|
|
27 |
|
|
#endif
|
28 |
|
|
|