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;
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.
Class for printing a detailed information from MC application.
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 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.