FairRoot/PandaRoot
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 -------------------------------------------
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 ----------------------------------------------------
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 // -------------------------------------------------------------------------
TVector3 pos
virtual void Print(const Option_t *opt=0) const
Definition: PndHypHit.cxx:48
Double_t
virtual ~PndHypHit()
Definition: PndHypHit.cxx:42
ClassImp(PndAnaContFact)