1 |
konec |
1.1 |
#ifndef UserCode_L1RpcTriggerAnalysis_AnaMenu_H
|
2 |
|
|
#define UserCode_L1RpcTriggerAnalysis_AnaMenu_H
|
3 |
|
|
|
4 |
|
|
class TObjArray;
|
5 |
|
|
class MuonObj;
|
6 |
|
|
class EventObj;
|
7 |
konec |
1.2 |
class TriggerMenuResultObj;
|
8 |
konec |
1.1 |
|
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 |
konec |
1.2 |
const TriggerMenuResultObj *bitsL1,
|
19 |
|
|
const TriggerMenuResultObj *bitsHLT);
|
20 |
konec |
1.1 |
|
21 |
|
|
void resume(TObjArray& histos);
|
22 |
|
|
bool debug;
|
23 |
|
|
private:
|
24 |
|
|
typedef std::map< std::string, unsigned int> AlgoMap ;
|
25 |
|
|
AlgoMap theAlgosL1, theAlgosHLT;
|
26 |
konec |
1.2 |
std::vector<std::string> namesL1, namesHLT;
|
27 |
konec |
1.1 |
};
|
28 |
|
|
|
29 |
|
|
#endif
|