FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
DrcData
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
10
ClassImp
(
PndDrcTrackInfo
)
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
29
PndDrcTrackInfo::~PndDrcTrackInfo
()
30
{
31
// for(std::vector<PndDrcPhotonInfo*>::iterator it = fPhotonArray.begin(); it != fPhotonArray.end(); it++){
32
// (*it)->Delete();
33
// }
34
// fPhotonArray.clear();
35
}
36
37
void
PndDrcTrackInfo::AddPhoton
(
PndDrcPhotonInfo
photon){
38
fPhotonArray
.push_back(photon);
39
fPhotonSize
++;
40
}
ClassImp
ClassImp(PndDrcTrackInfo) PndDrcTrackInfo
Definition:
PndDrcTrackInfo.cxx:10
PndDrcTrackInfo::~PndDrcTrackInfo
~PndDrcTrackInfo()
Definition:
PndDrcTrackInfo.cxx:29
PndDrcTrackInfo::AddPhoton
void AddPhoton(PndDrcPhotonInfo photon)
Definition:
PndDrcTrackInfo.cxx:37
PndDrcTrackInfo::fPhotonSize
Int_t fPhotonSize
Definition:
PndDrcTrackInfo.h:63
PndDrcTrackInfo.h
PndDrcTrackInfo::fPhotonArray
std::vector< PndDrcPhotonInfo > fPhotonArray
Definition:
PndDrcTrackInfo.h:62
PndDrcTrackInfo
Definition:
PndDrcTrackInfo.h:18
PndDrcPhotonInfo
Definition:
PndDrcPhotonInfo.h:19
Generated on Sun Aug 18 2019 03:01:20 for FairRoot/PandaRoot by
1.8.8