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