1 |
konec |
1.1 |
#ifndef UserCode_L1RpcTriggerAnalysis_AnaEff_H
|
2 |
|
|
#define UserCode_L1RpcTriggerAnalysis_AnaEff_H
|
3 |
|
|
class TObjArray;
|
4 |
|
|
class TH1D;
|
5 |
konec |
1.4 |
class TrackObj;
|
6 |
konec |
1.1 |
class L1ObjColl;
|
7 |
|
|
class L1Obj;
|
8 |
|
|
#include <vector>
|
9 |
|
|
#include <map>
|
10 |
|
|
#include <string>
|
11 |
|
|
|
12 |
konec |
1.4 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
13 |
konec |
1.1 |
|
14 |
|
|
|
15 |
|
|
class AnaEff {
|
16 |
|
|
public:
|
17 |
konec |
1.4 |
AnaEff(const edm::ParameterSet & cfg) : debug(false), theConfig(cfg) {}
|
18 |
konec |
1.2 |
void init(TObjArray& histos);
|
19 |
konec |
1.4 |
void run(const TrackObj* 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 |
konec |
1.4 |
edm::ParameterSet theConfig;
|
32 |
|
|
|
33 |
konec |
1.1 |
};
|
34 |
|
|
|
35 |
|
|
#endif
|