FairRoot/PandaRoot
PndDrcTrackInfo.cxx
Go to the documentation of this file.
1 // -----------------------------------------
2 // PndDrcTrackInfo.h
3 //
4 // Created on: 18.10.2013
5 // Author : R.Dzhygadlo at gsi.de
6 // -----------------------------------------
7 
8 #include "PndDrcTrackInfo.h"
9 
11 
12 // ----- Default constructor -------------------------------------------
13 PndDrcTrackInfo::PndDrcTrackInfo(): TObject(),
14  fPhotonArray(),
15  fPhotonSize(0),
16  fMcPdg(0),
17  fMcMomentum(TVector3()),
18  fMcMomentumInBar(TVector3()),
19  fMcPositionInBar(TVector3()),
20  fMcCherenkov(0),
21  fMcTimeInBar(0),
22  fPdg(0),
23  fMomentum(TVector3()),
24  fCherenkov(0)
25 {
26 }
27 
28 
30 {
31  // for(std::vector<PndDrcPhotonInfo*>::iterator it = fPhotonArray.begin(); it != fPhotonArray.end(); it++){
32  // (*it)->Delete();
33  // }
34  // fPhotonArray.clear();
35 }
36 
38  fPhotonArray.push_back(photon);
39  fPhotonSize++;
40 }
ClassImp(PndDrcTrackInfo) PndDrcTrackInfo
void AddPhoton(PndDrcPhotonInfo photon)
std::vector< PndDrcPhotonInfo > fPhotonArray