70 std::cout << std::endl;
71 for (
Int_t i=0; i<10; i++) std::cout <<
"**********";
72 std::cout << std::endl;
82 std::cout <<
" Particle = ";
85 std::cout << particle->
GetName() <<
" ";
87 std::cout <<
"unknown" <<
" ";
91 std::cout <<
" Track ID = " <<
gMC->GetStack()->GetCurrentTrackNumber() <<
" ";
95 std::cout <<
" Parent ID = " <<
gMC->GetStack()->GetCurrentParentTrackNumber();
103 std::cout <<
"Step# "
126 std::cout <<
"--- Init MC " << std::endl;
135 std::cout <<
"--- Run MC for " << nofEvents <<
" events" << std::endl;
144 std::cout <<
"--- Finish Run MC " << std::endl;
153 std::cout <<
"--- Construct geometry " << std::endl;
162 std::cout <<
"--- Construct geometry for optical processes" << std::endl;
171 std::cout <<
"--- Init geometry " << std::endl;
180 std::cout <<
"--- Add particles " << std::endl;
189 std::cout <<
"--- Add ions " << std::endl;
198 std::cout <<
"--- Generate primaries " << std::endl;
207 std::cout <<
"--- Begin event " << std::endl;
216 std::cout <<
"--- Begin primary " << std::endl;
236 std::cout <<
"--- Pre track " << std::endl;
247 std::cout << std::fixed;
253 std::cout <<
"#" << std::setw(4) <<
fStepNumber++ <<
" ";
258 gMC->TrackPosition(
x,
y, z);
259 std::cout << std::setw(8) << std::setprecision(3) <<
x <<
" "
260 << std::setw(8) << std::setprecision(3) <<
y <<
" "
261 << std::setw(8) << std::setprecision(3) << z <<
" ";
266 gMC->TrackMomentum(px, py, pz, etot);
268 std::cout << std::setw(9) << std::setprecision(4) << ekin*1e03 <<
" ";
272 std::cout << std::setw(9) << std::setprecision(4) <<
gMC->Edep()*1e03 <<
" ";
276 std::cout << std::setw(8) << std::setprecision(3) <<
gMC->TrackStep() <<
" ";
280 std::cout << std::setw(8) << std::setprecision(3) <<
gMC->TrackLength() <<
" ";
284 if (
gMC->CurrentVolName() != 0)
285 std::cout << std::setw(4) <<
gMC->CurrentVolName() <<
" ";
287 std::cout << std::setw(4) <<
"None" <<
" ";
292 Int_t nofProcesses =
gMC->StepProcesses(processes);
293 if (nofProcesses > 0)
296 std::cout << std::endl;
306 std::cout <<
"--- Post track " << std::endl;
315 std::cout <<
"--- Finish primary " << std::endl;
324 std::cout <<
"--- End of event " << std::endl;
333 std::cout <<
"--- Finish event " << std::endl;
static const char *const TMCProcessName[kMaxMCProcess]
Array of integers (32 bits per element).
static TDatabasePDG * Instance()
static function
TParticlePDG * GetParticle(Int_t pdgCode) const
Get a pointer to the particle object according to the MC code number.
virtual void InitMC()
Initialize MC info.
virtual void AddIons()
Add ions info.
virtual void FinishEvent()
Finish of an event info.
void PrintTrackInfo() const
Prints track information.
virtual void AddParticles()
Add particles info.
virtual void BeginPrimary()
Begin of a primary track info.
virtual void GeneratePrimaries()
Generate primaries info.
virtual void RunMC(Int_t nofEvents)
MC run info.
virtual void ConstructGeometry()
Construct geometry info.
Int_t fLevel
Verbose level.
virtual void EndOfEvent()
End of event info.
virtual void FinishRun()
Finish MC run info.
void PrintStepHeader() const
Prints the header for stepping information.
virtual void InitGeometry()
Initialize geometry info.
Int_t fStepNumber
Current step number.
virtual void FinishPrimary()
Finish of a primary track info.
TMCVerbose()
Default constructor.
virtual void BeginEvent()
Begin event info.
virtual ~TMCVerbose()
Destructor.
virtual void ConstructOpGeometry()
Construct geometry for optical physics info.
void PrintBanner() const
Prints banner for track information.
virtual void Stepping()
Stepping info.
virtual void PreTrack()
Begin of each track info.
virtual void PostTrack()
Finish of each track info.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
Description of the static properties of a particle.