FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
HypData
PndHypHit.cxx
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- PndHypHit source file -----
3
// ----- Modified for hyp purpose by A. Sanchez -----
4
// -------------------------------------------------------------------------
5
6
#include "stdlib.h"
7
#include <iostream>
8
#include <algorithm>
9
#include "
PndHypHit.h
"
10
#include "TGeoManager.h"
11
#include "TGeoNode.h"
12
#include "TGeoVolume.h"
13
14
15
// ----- Default constructor -------------------------------------------
16
PndHypHit::PndHypHit
() :
17
fDetName(
""
),
18
fCharge(0.),
19
fNDigiHits(0),
20
fBotIndex(-1)
21
{
22
}
23
// -------------------------------------------------------------------------
24
25
26
27
// ----- Standard constructor ------------------------------------------
28
PndHypHit::PndHypHit
(Int_t detID,
TString
detName, TVector3&
pos
, TVector3& dpos,Int_t index,
Double_t
charge, Int_t NDigiHits)
29
: FairHit(detID, pos, dpos, index),
30
fDetName(detName),
31
fCharge(charge),
32
fNDigiHits(NDigiHits),
33
fBotIndex(-1)
34
{}
35
36
37
// -------------------------------------------------------------------------
38
39
40
41
// ----- Destructor ----------------------------------------------------
42
PndHypHit::~PndHypHit
() {}
43
// -------------------------------------------------------------------------
44
45
46
47
// ----- Public method Print -------------------------------------------
48
void
PndHypHit::Print
(
const
Option_t* opt)
const
{
49
std::cout << *
this
<<
" opt="
<<opt<<std::endl;
50
51
}
52
53
54
55
56
// -------------------------------------------------------------------------
57
ClassImp
(
PndHypHit
)
pos
TVector3 pos
Definition:
GammaSpectraAnalysis.C:43
PndHypHit
Definition:
PndHypHit.h:32
PndHypHit::PndHypHit
PndHypHit()
Definition:
PndHypHit.cxx:16
PndHypHit::Print
virtual void Print(const Option_t *opt=0) const
Definition:
PndHypHit.cxx:48
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndHypHit::~PndHypHit
virtual ~PndHypHit()
Definition:
PndHypHit.cxx:42
TString
TString
Definition:
SimCompleteLinkDef.h:6
ClassImp
ClassImp(PndAnaContFact)
PndHypHit.h
Generated on Wed Apr 3 2019 08:43:57 for FairRoot/PandaRoot by
1.8.5