1 |
konec |
1.1 |
#ifndef UserCode_L1RpcTriggerAnalysis_AnaEff_H
|
2 |
|
|
#define UserCode_L1RpcTriggerAnalysis_AnaEff_H
|
3 |
|
|
class TObjArray;
|
4 |
|
|
class TH1D;
|
5 |
|
|
class MuonObj;
|
6 |
|
|
class L1ObjColl;
|
7 |
|
|
class L1Obj;
|
8 |
|
|
#include <vector>
|
9 |
|
|
#include <map>
|
10 |
|
|
#include <string>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
class AnaEff {
|
16 |
|
|
public:
|
17 |
konec |
1.2 |
AnaEff() : debug(false) {}
|
18 |
|
|
void init(TObjArray& histos);
|
19 |
konec |
1.3 |
void run(const MuonObj* muon, const L1ObjColl *l1Coll);
|
20 |
konec |
1.1 |
|
21 |
|
|
bool debug;
|
22 |
|
|
|
23 |
|
|
private:
|
24 |
|
|
double maxPt(const std::vector<L1Obj> & l1Objs) const;
|
25 |
|
|
TH1D* hEfficMuPt_D, *hEfficRpcNoCut_N, *hEfficRpcPtCut_N;
|
26 |
|
|
std::map< std::string, TH1D* > hm;
|
27 |
|
|
|
28 |
|
|
const static unsigned int nPtCuts= 6;
|
29 |
|
|
const static double ptCuts[];
|
30 |
|
|
|
31 |
|
|
};
|
32 |
|
|
|
33 |
|
|
#endif
|