72 std::cout << std::endl;
73 for (
Int_t i=0; i<10; i++) std::cout <<
"**********";
74 std::cout << std::endl;
84 std::cout <<
" Particle = ";
87 std::cout << particle->
GetName() <<
" ";
89 std::cout <<
"unknown" <<
" ";
93 std::cout <<
" Track ID = " <<
gMC->GetStack()->GetCurrentTrackNumber() <<
" ";
97 std::cout <<
" Parent ID = " <<
gMC->GetStack()->GetCurrentParentTrackNumber();
105 std::cout <<
"Step# " 128 std::cout <<
"--- Init MC " << std::endl;
137 std::cout <<
"--- Run MC for " << nofEvents <<
" events" << std::endl;
146 std::cout <<
"--- Finish Run MC " << std::endl;
155 std::cout <<
"--- Construct geometry " << std::endl;
164 std::cout <<
"--- Construct geometry for optical processes" << std::endl;
173 std::cout <<
"--- Init geometry " << std::endl;
182 std::cout <<
"--- Add particles " << std::endl;
191 std::cout <<
"--- Add ions " << std::endl;
200 std::cout <<
"--- Generate primaries " << std::endl;
209 std::cout <<
"--- Begin event " << std::endl;
218 std::cout <<
"--- Begin primary " << std::endl;
238 std::cout <<
"--- Pre track " << std::endl;
249 std::cout << std::fixed;
254 std::cout <<
"#" << std::setw(4) <<
fStepNumber++ <<
" ";
259 gMC->TrackPosition(x, y, z);
260 std::cout << std::setw(8) << std::setprecision(3) << x <<
" " 261 << std::setw(8) << std::setprecision(3) << y <<
" " 262 << std::setw(8) << std::setprecision(3) << z <<
" ";
267 gMC->TrackMomentum(px, py, pz, etot);
269 std::cout << std::setw(9) << std::setprecision(4) << ekin*1e03 <<
" ";
273 std::cout << std::setw(9) << std::setprecision(4) <<
gMC->Edep()*1e03 <<
" ";
277 std::cout << std::setw(8) << std::setprecision(3) <<
gMC->TrackStep() <<
" ";
281 std::cout << std::setw(8) << std::setprecision(3) <<
gMC->TrackLength() <<
" ";
285 if (
gMC->CurrentVolName() != 0)
286 std::cout << std::setw(4) <<
gMC->CurrentVolName() <<
" ";
288 std::cout << std::setw(4) <<
"None" <<
" ";
293 Int_t nofProcesses =
gMC->StepProcesses(processes);
294 if (nofProcesses > 0)
297 std::cout << std::endl;
307 std::cout <<
"--- Post track " << std::endl;
316 std::cout <<
"--- Finish primary " << std::endl;
325 std::cout <<
"--- Finish event " << std::endl;
virtual const char * GetName() const
Returns name of object.
virtual void RunMC(Int_t nofEvents)
MC run info.
void PrintBanner() const
Prints banner for track information.
virtual void ConstructOpGeometry()
Construct geometry for optical physics info.
virtual void FinishPrimary()
Finish of a primary track info.
virtual void GeneratePrimaries()
Generate primaries info.
static const char *const TMCProcessName[kMaxMCProcess]
void PrintTrackInfo() const
Prints track information.
virtual void Stepping()
Stepping info.
virtual void BeginPrimary()
Begin of a primary track info.
Array of integers (32 bits per element).
Class for printing a detailed information from MC application.
virtual void InitGeometry()
Initialize geometry info.
virtual void ConstructGeometry()
Construct geometry info.
static TDatabasePDG * Instance()
static function
Int_t fLevel
Verbose level.
virtual void BeginEvent()
Begin event info.
TMCVerbose()
Default constructor.
virtual void PreTrack()
Begin of each track info.
Description of the static properties of a particle.
virtual void FinishEvent()
Finish of an event info.
TParticlePDG * GetParticle(Int_t pdgCode) const
Get a pointer to the particle object according to the MC code number.
virtual void AddParticles()
Add particles info.
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
virtual void PostTrack()
Finish of each track info.
virtual ~TMCVerbose()
Destructor.
virtual void FinishRun()
Finish MC run info.
virtual void AddIons()
Add ions info.
void PrintStepHeader() const
Prints the header for stepping information.
virtual void InitMC()
Initialize MC info.
Int_t fStepNumber
Current step number.