FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
ftof
PndFtofHit.cxx
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- FtofHit source file -----
3
// ----- Created by A. Sanchez -----
4
// -------------------------------------------------------------------------
5
6
7
#include <iostream>
8
#include "
PndFtofHit.h
"
9
10
11
// ----- Default constructor -------------------------------------------
12
PndFtofHit::PndFtofHit
() {
13
}
14
// -------------------------------------------------------------------------
15
16
17
18
// ----- Standard constructor ------------------------------------------
19
PndFtofHit::PndFtofHit
(Int_t trackId, Int_t detID,
TString
detName,
Double_t
time,
Double_t
dt,
20
TVector3&
pos
,TVector3& dpos,Int_t index,
Double_t
charge)
21
: FairHit(detID, pos, dpos, index) {
22
fDetName
= detName;
23
fTrackID
= trackId;
24
fCharge
= charge;
25
ftime
= time;
26
fdt
= dt;
27
28
SetTimeStamp(time);
29
//fNPixelHits = NPixelHits;
30
}
31
32
33
// -------------------------------------------------------------------------
34
35
36
37
// ----- Destructor ----------------------------------------------------
38
PndFtofHit::~PndFtofHit
() {}
39
// -------------------------------------------------------------------------
40
41
42
43
// ----- Public method Print -------------------------------------------
44
void
PndFtofHit::Print
(
const
Option_t* )
const
{
45
std::cout <<
"Forward tof hit in detector "
<<
fDetName
<<
" at ("
46
<<
fX
<<
", "
<<
fY
<<
", "
<<
fZ
<<
") cm "
47
<<
", Point "
<< fRefIndex << std::endl;
48
}
49
// -------------------------------------------------------------------------
50
ClassImp
(
PndFtofHit
)
pos
TVector3 pos
Definition:
GammaSpectraAnalysis.C:43
PndFtofHit::fCharge
Double_t fCharge
Definition:
PndFtofHit.h:74
fX
Double_t fX
Definition:
PndCaloDraw.cxx:34
PndFtofHit::fTrackID
Int_t fTrackID
Definition:
PndFtofHit.h:73
PndFtofHit::fdt
Double_t fdt
Definition:
PndFtofHit.h:74
fZ
Double_t fZ
Definition:
PndCaloDraw.cxx:34
PndFtofHit.h
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndFtofHit::~PndFtofHit
virtual ~PndFtofHit()
Definition:
PndFtofHit.cxx:38
TString
TString
Definition:
SimCompleteLinkDef.h:6
PndFtofHit::Print
virtual void Print(const Option_t *opt=0) const
Definition:
PndFtofHit.cxx:44
PndFtofHit::PndFtofHit
PndFtofHit()
Definition:
PndFtofHit.cxx:12
fY
Double_t fY
Definition:
PndCaloDraw.cxx:34
PndFtofHit
Definition:
PndFtofHit.h:23
PndFtofHit::ftime
Double_t ftime
Definition:
PndFtofHit.h:74
ClassImp
ClassImp(PndAnaContFact)
PndFtofHit::fDetName
TString fDetName
Definition:
PndFtofHit.h:72
Generated on Wed Apr 3 2019 08:43:55 for FairRoot/PandaRoot by
1.8.5