FairRoot/PandaRoot
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 -------------------------------------------
16  :FairTimeStamp(),
17  fSensorId(-1),
18  fTime(-999.),
19  fTimeThreshold(-999.)
20 {
21 }
22 // -------------------------------------------------------------------------
23 
24 
25 // ----- Standard constructor ------------------------------------------
26 
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 ----------------------------------------------------
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 
TVector3 pos
Double_t
virtual ~PndRichTSPDHit()
ClassImp(PndAnaContFact)
virtual void Print(const Option_t *opt="") const