1 |
akalinow |
1.1 |
#ifndef EventData_H
|
2 |
|
|
#define EventData_H
|
3 |
|
|
#include "TObject.h"
|
4 |
|
|
#include <iostream>
|
5 |
|
|
|
6 |
|
|
#include "UserCode/L1RpcTriggerAnalysis/interface/L1Obj.h"
|
7 |
|
|
|
8 |
|
|
///Small class to create a TTree
|
9 |
|
|
///holding trigger response.
|
10 |
|
|
|
11 |
|
|
struct EventData: public TObject{
|
12 |
|
|
|
13 |
|
|
EventData(){};
|
14 |
|
|
~EventData(){}
|
15 |
|
|
|
16 |
|
|
void clear();
|
17 |
|
|
|
18 |
|
|
///Header
|
19 |
|
|
float weight;
|
20 |
|
|
///Generated kinematics
|
21 |
|
|
float pt;
|
22 |
|
|
float eta;
|
23 |
|
|
float phi;
|
24 |
|
|
float phiHit;
|
25 |
|
|
float etaHit;
|
26 |
|
|
int charge;
|
27 |
|
|
|
28 |
|
|
std::vector<L1Obj> l1ObjectsOtf;
|
29 |
|
|
std::vector<L1Obj> l1ObjectsGmt;
|
30 |
|
|
|
31 |
|
|
ClassDef(EventData,1)
|
32 |
|
|
};
|
33 |
|
|
///////////////////////////////////////
|
34 |
|
|
#endif
|