FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
PndDrcHit Class Reference

#include <PndDrcHit.h>

Inheritance diagram for PndDrcHit:

Public Member Functions

 PndDrcHit ()
 
 PndDrcHit (Int_t detID, Int_t sensorId, TVector3 &pos, TVector3 &dpos, Double_t thetaC, Double_t errThetaC, Int_t index)
 
virtual ~PndDrcHit ()
 
virtual void Print (const Option_t *opt="") const
 
virtual Double_t GetThetaC ()
 
virtual Double_t GetErrThetaC ()
 
virtual Int_t GetRefIndex ()
 
Int_t GetSensorId ()
 
TVector3 GetPosition () const
 

Protected Attributes

Int_t fSensorId
 
Double_t fThetaC
 
Double_t fErrThetaC
 

Detailed Description

Definition at line 13 of file PndDrcHit.h.

Constructor & Destructor Documentation

PndDrcHit::PndDrcHit ( )

Default constructor

Definition at line 15 of file PndDrcHit.cxx.

16  :FairHit(),
17  fSensorId(-999),
18  fThetaC(-999.),
19  fErrThetaC(-999.)
20 {
21 }
Double_t fThetaC
Definition: PndDrcHit.h:52
Double_t fErrThetaC
Definition: PndDrcHit.h:52
Int_t fSensorId
Definition: PndDrcHit.h:51
PndDrcHit::PndDrcHit ( Int_t  detID,
Int_t  sensorId,
TVector3 &  pos,
TVector3 &  dpos,
Double_t  thetaC,
Double_t  errThetaC,
Int_t  index 
)

Definition at line 27 of file PndDrcHit.cxx.

34  :FairHit(detID, pos, dpos, index),
35  fSensorId (sensorId),
36  fThetaC (thetaC),
37  fErrThetaC (errThetaC)
38 {
39 }
TVector3 pos
Double_t fThetaC
Definition: PndDrcHit.h:52
Double_t fErrThetaC
Definition: PndDrcHit.h:52
Int_t fSensorId
Definition: PndDrcHit.h:51
Double_t thetaC
Definition: plot_dirc.C:16
PndDrcHit::~PndDrcHit ( )
virtual

Copy constructor Destructor

Definition at line 42 of file PndDrcHit.cxx.

42 {}

Member Function Documentation

virtual Double_t PndDrcHit::GetErrThetaC ( )
inlinevirtual

Definition at line 43 of file PndDrcHit.h.

References fErrThetaC.

Referenced by PndPidCorrelator::GetDrcInfo().

43 {return fErrThetaC;}
Double_t fErrThetaC
Definition: PndDrcHit.h:52
TVector3 PndDrcHit::GetPosition ( ) const
inline

Definition at line 47 of file PndDrcHit.h.

References fX, fY, and fZ.

47 { return TVector3(fX, fY, fZ); }
Double_t fX
Definition: PndCaloDraw.cxx:34
Double_t fZ
Definition: PndCaloDraw.cxx:34
Double_t fY
Definition: PndCaloDraw.cxx:34
virtual Int_t PndDrcHit::GetRefIndex ( )
inlinevirtual
Int_t PndDrcHit::GetSensorId ( )
inline

Definition at line 45 of file PndDrcHit.h.

References fSensorId.

45 {return fSensorId;}
Int_t fSensorId
Definition: PndDrcHit.h:51
virtual Double_t PndDrcHit::GetThetaC ( )
inlinevirtual

Modifiers Accessors

Definition at line 42 of file PndDrcHit.h.

References fThetaC.

Referenced by PndPidCorrelator::GetDrcInfo().

42 {return fThetaC;}
Double_t fThetaC
Definition: PndDrcHit.h:52
void PndDrcHit::Print ( const Option_t *  opt = "") const
virtual

Output to screen

Definition at line 47 of file PndDrcHit.cxx.

References fThetaC.

47  {
48  (void)opt; // to remove "unused" warnings
49  cout << "DIRC hit: ThetaC = " << fThetaC << endl;
50 }
Double_t fThetaC
Definition: PndDrcHit.h:52

Member Data Documentation

Double_t PndDrcHit::fErrThetaC
protected

Definition at line 52 of file PndDrcHit.h.

Referenced by GetErrThetaC().

Int_t PndDrcHit::fSensorId
protected

Definition at line 51 of file PndDrcHit.h.

Referenced by GetSensorId().

Double_t PndDrcHit::fThetaC
protected

Definition at line 52 of file PndDrcHit.h.

Referenced by GetThetaC(), and Print().


The documentation for this class was generated from the following files: