1 |
|
#ifndef TRootMCPhoton_h |
2 |
|
#define TRootMCPhoton_h |
3 |
|
|
4 |
< |
#include <string> |
5 |
< |
#include <iostream> |
4 |
> |
#include <vector> |
5 |
|
|
6 |
|
#include "../interface/TRootParticle.h" |
7 |
|
|
9 |
– |
|
8 |
|
using namespace std; |
9 |
|
|
10 |
|
class TRootMCPhoton : public TRootParticle |
132 |
|
|
133 |
|
std::vector<TLorentzVector> tracks() const { return tracks_;} |
134 |
|
Int_t recoPhotonIndex() const { return recoPhotonIndex_;} |
135 |
< |
|
135 |
> |
virtual TString typeName() const { return "TRootMCPhoton"; } |
136 |
|
|
137 |
|
void setConvVertex(TVector3 convVertex) { convVertex_=convVertex; } |
138 |
|
void setConvVertex(Double_t x, Double_t y, Double_t z) { convVertex_.SetXYZ(x, y ,z); } |
139 |
< |
// TODO - set tracks_... |
139 |
> |
void setTracks(std::vector<TLorentzVector> tracks) { tracks_=tracks; } |
140 |
|
void setRecoPhotonIndex(Int_t recoPhotonIndex) { recoPhotonIndex_=recoPhotonIndex; } |
141 |
|
|
142 |
|
|
151 |
|
private: |
152 |
|
|
153 |
|
TVector3 convVertex_; // Position of the conversion vertex |
154 |
< |
std::vector<TLorentzVector> tracks_; |
154 |
> |
std::vector<TLorentzVector> tracks_; // Tracks from the conversion |
155 |
|
Int_t recoPhotonIndex_; // Index of first conversion track (in tracks TCloneArray) |
158 |
– |
|
159 |
– |
|
160 |
– |
//Float_t convEoverP_; // SuperCluster Energy over Conversion track(s) Momentum |
161 |
– |
//Float_t convPtOverEt_; // Conversion tracks pair Pt over SuperCluster Et |
162 |
– |
//Float_t convMass_; // Conversion tracks pair invariant mass |
163 |
– |
//Float_t convCotanTheta_; // Cotan(Theta) of conversion tracks pair |
156 |
|
|
157 |
|
ClassDef (TRootMCPhoton,1); |
158 |
|
}; |