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 |
konec |
1.3 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
13 |
|
|
|
14 |
konec |
1.1 |
|
15 |
|
|
class AnaMenu {
|
16 |
|
|
public:
|
17 |
konec |
1.3 |
AnaMenu(const edm::ParameterSet& cfg) : debug(false), theConfig(cfg) {}
|
18 |
konec |
1.1 |
void init(TObjArray& histos);
|
19 |
konec |
1.3 |
void updateMenu(const std::vector<std::string> & menuL1, const std::vector<std::string> & menuHLT);
|
20 |
konec |
1.1 |
bool filter( const EventObj* ev, const MuonObj* muon,
|
21 |
konec |
1.2 |
const TriggerMenuResultObj *bitsL1,
|
22 |
|
|
const TriggerMenuResultObj *bitsHLT);
|
23 |
konec |
1.1 |
|
24 |
|
|
void resume(TObjArray& histos);
|
25 |
|
|
bool debug;
|
26 |
|
|
private:
|
27 |
konec |
1.3 |
typedef std::map< std::string, unsigned int> AlgoMap ;
|
28 |
|
|
AlgoMap theAlgosL1, theAlgosHLT;
|
29 |
|
|
std::vector<std::string> theMenuL1, theMenuHLT;
|
30 |
|
|
edm::ParameterSet theConfig;
|
31 |
|
|
|
32 |
konec |
1.1 |
};
|
33 |
|
|
|
34 |
|
|
#endif
|