EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairGenericStack.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairGenericStack.cxx
1 // -------------------------------------------------------------------------
2 // ----- FairGenericStack source file -----
3 // ----- Created 10/08/04 by D. Bertini -----
4 // -------------------------------------------------------------------------
5 #include "FairGenericStack.h"
6 
7 #include "FairDetector.h"
8 #include "FairRootManager.h"
9 #include "FairMCPoint.h"
10 
11 #include "TError.h"
12 #include "TLorentzVector.h"
13 #include "TParticle.h"
14 #include "TRefArray.h"
15 //#include "TClonesArray.h"
16 
17 //#include <map>
18 //#include <stack>
19 //#include <iostream>
20 
21 
22 // ----- Default constructor -------------------------------------------
24  : TVirtualMCStack(),
25  fLogger(FairLogger::GetLogger()),
26  fVerbose(1)
27 {
28 }
29 // -------------------------------------------------------------------------
30 // ----- Constructor with estimated array dimension --------------------
32  : TVirtualMCStack(),
33  fLogger(FairLogger::GetLogger()),
34  fVerbose(1)
35 {
36 }
37 // -------------------------------------------------------------------------
38 // ----- Destructor ----------------------------------------------------
40 {
41 }
42 // -------------------------------------------------------------------------
43 // ----- Virtual method PushTrack --------------------------------------
44 void FairGenericStack::PushTrack(Int_t toBeDone, Int_t parentID, Int_t pdgCode,
45  Double_t px, Double_t py, Double_t pz,
46  Double_t e, Double_t vx, Double_t vy, Double_t vz,
47  Double_t time, Double_t polx, Double_t poly,
48  Double_t polz, TMCProcess proc, Int_t& ntr,
49  Double_t weight, Int_t is)
50 {
51 
52 }
53 
54 void FairGenericStack::PushTrack(Int_t toBeDone, Int_t parentID, Int_t pdgCode,
55  Double_t px, Double_t py, Double_t pz,
56  Double_t e, Double_t vx, Double_t vy, Double_t vz,
57  Double_t time, Double_t polx, Double_t poly,
58  Double_t polz, TMCProcess proc, Int_t& ntr,
59  Double_t weight, Int_t is, Int_t secondMotherID)
60 {
61 
62 }
63 // ----- Virtual method PopNextTrack -----------------------------------
64 TParticle* FairGenericStack::PopNextTrack(Int_t& iTrack)
65 {
66  return 0;
67 }
68 // -------------------------------------------------------------------------
69 // ----- Virtual method PopPrimaryForTracking --------------------------
71 {
72  return 0;
73 }
74 // -------------------------------------------------------------------------
75 // ----- Public method AddParticle -------------------------------------
76 void FairGenericStack::AddParticle(TParticle* oldPart)
77 {
78 }
79 // -------------------------------------------------------------------------
80 // ----- Public method FillTrackArray ----------------------------------
82 {
83 }
84 // -------------------------------------------------------------------------
85 // ----- Public method UpdateTrackIndex --------------------------------
86 void FairGenericStack::UpdateTrackIndex(TRefArray* detList)
87 {
88 
89 }
90 // -------------------------------------------------------------------------
91 // ----- Public method Reset -------------------------------------------
93 {
94 }
95 // -------------------------------------------------------------------------
96 // ----- Public method Register ----------------------------------------
98 {
99 }
100 // -------------------------------------------------------------------------
101 // ----- Public method Print --------------------------------------------
102 void FairGenericStack::Print(Int_t iVerbose) const
103 {
104 }
105 // -------------------------------------------------------------------------
106 // ----- Virtual method SetCurrentTrack --------------------------------
108 {
109 }
110 // -------------------------------------------------------------------------
111 // ----- Virtual method GetNtrack --------------------------------------
113 {
114  return 0;
115 }
116 // -------------------------------------------------------------------------
117 // ----- Virtual method GetNprimary ------------------------------------
119 {
120  return 0;
121 }
122 // -------------------------------------------------------------------------
123 // ----- Virtual method GetCurrentTrack --------------------------------
125 {
126  return NULL;
127 }
128 // -------------------------------------------------------------------------
129 // ----- Virtual method GetCurrentTrackNumber --------------------------
131 {
132  return 0;
133 }
134 // -------------------------------------------------------------------------
135 // ----- Virtual method GetCurrentParentTrackNumber --------------------
137 {
138  return 0;
139 }
140 // -------------------------------------------------------------------------