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