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