1 |
bpollack |
1.1 |
#ifndef _TCPHOTON_H
|
2 |
|
|
#define _TCPHOTON_H
|
3 |
|
|
|
4 |
|
|
#include "TObject.h"
|
5 |
|
|
#include "TLorentzVector.h"
|
6 |
|
|
#include "TArrayF.h"
|
7 |
bpollack |
1.2 |
#include "TCPhysObject.h"
|
8 |
bpollack |
1.1 |
#include <vector>
|
9 |
|
|
|
10 |
|
|
using namespace std;
|
11 |
|
|
|
12 |
bpollack |
1.2 |
class TCPhoton : public TCPhysObject {
|
13 |
bpollack |
1.1 |
private:
|
14 |
|
|
|
15 |
bpollack |
1.2 |
// ID variables
|
16 |
|
|
float _normChi2;
|
17 |
|
|
float _hadOverEm; //
|
18 |
|
|
float _sigmaIEtaIEta; //
|
19 |
|
|
float _r9;
|
20 |
|
|
float _sigmaIPhiIPhi;
|
21 |
|
|
float _e2OverE9;
|
22 |
|
|
bool _trackVeto;
|
23 |
|
|
|
24 |
|
|
// supercluster information
|
25 |
|
|
float _SCdPhi;
|
26 |
|
|
float _SCdEta;
|
27 |
|
|
float _SCeta;
|
28 |
|
|
float _SCphi;
|
29 |
|
|
float _SCenergy;
|
30 |
|
|
|
31 |
|
|
//conversion info
|
32 |
|
|
bool _convVeto;
|
33 |
bpollack |
1.1 |
|
34 |
|
|
public:
|
35 |
|
|
TCPhoton();
|
36 |
|
|
virtual ~TCPhoton();
|
37 |
|
|
|
38 |
|
|
// "get" methods -----------
|
39 |
|
|
|
40 |
bpollack |
1.2 |
float NormChi2() const;
|
41 |
|
|
float HadOverEm() const;
|
42 |
|
|
float SigmaIEtaIEta() const;
|
43 |
|
|
float SigmaIPhiIPhi() const;
|
44 |
|
|
float R9() const;
|
45 |
|
|
float E2OverE9() const;
|
46 |
|
|
bool TrackVeto() const;
|
47 |
|
|
|
48 |
|
|
float SCDPhi() const;
|
49 |
|
|
float SCDEta() const;
|
50 |
|
|
float SCEnergy() const;
|
51 |
|
|
float SCEta() const;
|
52 |
|
|
float SCPhi() const;
|
53 |
bpollack |
1.1 |
|
54 |
bpollack |
1.2 |
bool ConversionVeto() const;
|
55 |
bpollack |
1.1 |
|
56 |
|
|
// "set" methods ---------
|
57 |
bpollack |
1.2 |
|
58 |
|
|
void SetNormChi2(float);
|
59 |
|
|
void SetHadOverEm(float);
|
60 |
|
|
void SetSigmaIEtaIEta(float);
|
61 |
|
|
void SetSigmaIPhiIPhi(float);
|
62 |
|
|
void SetR9(float);
|
63 |
|
|
void SetE2OverE9(float);
|
64 |
|
|
void SetTrackVeto(bool);
|
65 |
|
|
|
66 |
|
|
void SetSCDPhi(float);
|
67 |
|
|
void SetSCDEta(float);
|
68 |
|
|
void SetSCEta(float);
|
69 |
|
|
void SetSCPhi(float);
|
70 |
|
|
void SetSCEnergy(float);
|
71 |
|
|
|
72 |
|
|
void SetConversionVeto(bool);
|
73 |
bpollack |
1.1 |
|
74 |
|
|
ClassDef(TCPhoton, 1);
|
75 |
|
|
};
|
76 |
|
|
|
77 |
|
|
#endif
|
78 |
|
|
|
79 |
|
|
|