1 |
#ifndef UserCode_L1RpcTriggerAnalysis_AnaMenu_H
|
2 |
#define UserCode_L1RpcTriggerAnalysis_AnaMenu_H
|
3 |
|
4 |
class TObjArray;
|
5 |
class MuonObj;
|
6 |
class EventObj;
|
7 |
class TriggerMenuResultObj;
|
8 |
|
9 |
#include <vector>
|
10 |
#include <map>
|
11 |
#include <string>
|
12 |
|
13 |
class AnaMenu {
|
14 |
public:
|
15 |
AnaMenu() : debug(false) {}
|
16 |
void init(TObjArray& histos);
|
17 |
bool filter( const EventObj* ev, const MuonObj* muon,
|
18 |
const TriggerMenuResultObj *bitsL1,
|
19 |
const TriggerMenuResultObj *bitsHLT);
|
20 |
|
21 |
void resume(TObjArray& histos);
|
22 |
bool debug;
|
23 |
private:
|
24 |
typedef std::map< std::string, unsigned int> AlgoMap ;
|
25 |
AlgoMap theAlgosL1, theAlgosHLT;
|
26 |
std::vector<std::string> namesL1, namesHLT;
|
27 |
};
|
28 |
|
29 |
#endif
|