1 |
konec |
1.1 |
#ifndef UserCode_L1RpcTriggerAnalysis_AnaRpcMisc_H
|
2 |
|
|
#define UserCode_L1RpcTriggerAnalysis_AnaRpcMisc_H
|
3 |
|
|
class TObjArray;
|
4 |
|
|
class TH1D;
|
5 |
|
|
class MuonObj;
|
6 |
|
|
class L1ObjColl;
|
7 |
|
|
class L1Obj;
|
8 |
|
|
class TH2D;
|
9 |
|
|
class EventObj;
|
10 |
|
|
class TGraph;
|
11 |
|
|
#include <vector>
|
12 |
|
|
#include <map>
|
13 |
|
|
|
14 |
|
|
class AnaRpcMisc {
|
15 |
|
|
public:
|
16 |
|
|
AnaRpcMisc(TObjArray& histos);
|
17 |
|
|
void run(const EventObj* ev, const MuonObj* muon, const L1ObjColl *l1RpcColl, const L1ObjColl *l1OtherColl);
|
18 |
|
|
TGraph* resume();
|
19 |
|
|
|
20 |
|
|
bool debug;
|
21 |
|
|
private:
|
22 |
|
|
double maxPt(const std::vector<L1Obj> & l1Objs) const;
|
23 |
|
|
TH2D *hRpcMisc_UE, *hRpcMisc_OE;
|
24 |
|
|
TH1D *hRpcMisc_EffRun;
|
25 |
|
|
TH1D *hRpcMisc_Time;
|
26 |
|
|
typedef std::map< unsigned int, std::pair<unsigned int, unsigned int> > EffRunMap;
|
27 |
|
|
EffRunMap effRunMap;
|
28 |
|
|
};
|
29 |
|
|
|
30 |
|
|
#endif
|