FairRoot/PandaRoot
PndFtsHit.cxx
Go to the documentation of this file.
1 
6 #include "PndFtsHit.h"
7 
8 #include "PndDetectorList.h"
9 
10 #include <iostream>
11 #include "TMath.h"
14  fIsochrone(0.),
15  fIsochroneError(0.),
16  fPulse(0.),
17  fDepCharge(0.),
18  fTubeID(0),
19  fChamberID(0),
20  fLayerID(0),
21  fSkewed(0)
22 {
23  //Clear();
24 }
25 
26 
27 PndFtsHit::PndFtsHit(Int_t detID, Int_t tubeID, Int_t chamberID, Int_t layerID, Int_t skew, Int_t mcindex, TVector3& pos, TVector3& dpos, Double_t p, Double_t isochrone, Double_t isochroneError, Double_t chDep) :
28  FairHit(detID, pos, dpos, mcindex) ,
29  fIsochrone(isochrone),
30  fIsochroneError(isochroneError),
31  fPulse(p),
32  fDepCharge(chDep),
33  fTubeID(tubeID),
34  fChamberID(chamberID),
35  fLayerID(layerID),
36  fSkewed(skew)
37 {
38  SetTimeStamp(p);
39  SetLink(FairLink("FTSPoint", mcindex));
40 }
41 
44 {
45  fTubeID = 0;
46  fChamberID = 0;
47  fLayerID = 0;
48  fSkewed = 0;
49  fPulse = 0;
50  fIsochrone = 0.;
51  fIsochroneError = 0.;
52  fDepCharge = 0.;
53 }
54 
55 
58 {
59 }
60 
61 
62 
TVector3 pos
Double_t p
Definition: anasim.C:58
Int_t fLayerID
Definition: PndFtsHit.h:113
Double_t fDepCharge
Definition: PndFtsHit.h:108
virtual ~PndFtsHit()
Definition: PndFtsHit.cxx:57
Int_t fSkewed
Definition: PndFtsHit.h:114
double skew
Double_t fIsochroneError
Definition: PndFtsHit.h:102
Double_t
Double_t fPulse
Definition: PndFtsHit.h:105
Int_t fChamberID
Definition: PndFtsHit.h:112
Double_t fIsochrone
Definition: PndFtsHit.h:100
Int_t fTubeID
Definition: PndFtsHit.h:111
ClassImp(PndAnaContFact)
void Clear()
Definition: PndFtsHit.cxx:43