FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
RichData
PndRichTSPDHit.cxx
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- PndRichTSPDHit source file -----
3
// ----- Created 12/03/17 by Beloborodov Konstantin -----
4
// ----- -----
5
// ----- -----
6
// -------------------------------------------------------------------------
7
#include <iostream>
8
9
using
std::cout;
10
using
std::endl;
11
12
#include "
PndRichTSPDHit.h
"
13
14
// ----- Default constructor -------------------------------------------
15
PndRichTSPDHit::PndRichTSPDHit
()
16
:FairTimeStamp(),
17
fSensorId(-1),
18
fTime(-999.),
19
fTimeThreshold(-999.)
20
{
21
}
22
// -------------------------------------------------------------------------
23
24
25
// ----- Standard constructor ------------------------------------------
26
27
PndRichTSPDHit::PndRichTSPDHit
(Int_t detID,
28
Int_t sensorId,
29
TVector3
pos
,
30
TVector3 dpos,
31
Double_t
time,
32
Double_t
timeThreshold)
33
:FairTimeStamp(),
34
fDetID (detID),
35
fSensorId (sensorId),
36
fPos (pos),
37
fdPos (dpos),
38
fTime (time),
39
fTimeThreshold (timeThreshold)
40
{
41
}
42
43
// ----- Destructor ----------------------------------------------------
44
PndRichTSPDHit::~PndRichTSPDHit
(){}
45
// -------------------------------------------------------------------------
46
47
48
// ----- Public method Print -------------------------------------------
49
void
PndRichTSPDHit::Print
(
const
Option_t* opt)
const
{
50
cout <<
"RICH Photon hit: Time = "
<<
fTime
<<
" opt="
<<opt<< endl;
51
}
52
// -------------------------------------------------------------------------
53
54
ClassImp
(
PndRichTSPDHit
)
pos
TVector3 pos
Definition:
GammaSpectraAnalysis.C:43
PndRichTSPDHit
Definition:
PndRichTSPDHit.h:14
PndRichTSPDHit.h
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndRichTSPDHit::~PndRichTSPDHit
virtual ~PndRichTSPDHit()
Definition:
PndRichTSPDHit.cxx:44
PndRichTSPDHit::PndRichTSPDHit
PndRichTSPDHit()
Definition:
PndRichTSPDHit.cxx:15
PndRichTSPDHit::fTime
Double_t fTime
Definition:
PndRichTSPDHit.h:98
ClassImp
ClassImp(PndAnaContFact)
PndRichTSPDHit::Print
virtual void Print(const Option_t *opt="") const
Definition:
PndRichTSPDHit.cxx:49
Generated on Sun Aug 18 2019 03:01:43 for FairRoot/PandaRoot by
1.8.8