1 |
#ifndef _TCPHOTON_H
|
2 |
#define _TCPHOTON_H
|
3 |
|
4 |
#include "TObject.h"
|
5 |
#include "TLorentzVector.h"
|
6 |
#include "TArrayF.h"
|
7 |
#include "TCPhysObject.h"
|
8 |
#include <vector>
|
9 |
|
10 |
using namespace std;
|
11 |
|
12 |
class TCPhoton : public TCPhysObject {
|
13 |
private:
|
14 |
|
15 |
// 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 |
|
34 |
public:
|
35 |
TCPhoton();
|
36 |
virtual ~TCPhoton();
|
37 |
|
38 |
// "get" methods -----------
|
39 |
|
40 |
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 |
|
54 |
bool ConversionVeto() const;
|
55 |
|
56 |
// "set" methods ---------
|
57 |
|
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 |
|
74 |
ClassDef(TCPhoton, 1);
|
75 |
};
|
76 |
|
77 |
#endif
|
78 |
|
79 |
|