/usr/include/root/TMCVerbose.h is in libroot-montecarlo-vmc-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | // @(#)root/vmc:$Id$
// Author: Ivana Hrivnacova; 24/02/2003
/*************************************************************************
* Copyright (C) 2006, Rene Brun and Fons Rademakers. *
* Copyright (C) 2003, ALICE Experiment at CERN. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TMCVerbose
#define ROOT_TMCVerbose
//
// Class TMCVerbose
// ----------------
// Class for printing detailed info from MC application.
// Defined levels:
// 0 no output
// 1 info up to event level
// 2 info up to tracking level
// 3 detailed info for each step
#include <TObject.h>
class TVirtualMCStack;
class TMCVerbose : public TObject
{
public:
TMCVerbose(Int_t level);
TMCVerbose();
virtual ~TMCVerbose();
// methods
virtual void InitMC();
virtual void RunMC(Int_t nofEvents);
virtual void FinishRun();
virtual void ConstructGeometry();
virtual void ConstructOpGeometry();
virtual void InitGeometry();
virtual void AddParticles();
virtual void AddIons();
virtual void GeneratePrimaries();
virtual void BeginEvent();
virtual void BeginPrimary();
virtual void PreTrack();
virtual void Stepping();
virtual void PostTrack();
virtual void FinishPrimary();
virtual void FinishEvent();
// set methods
void SetLevel(Int_t level);
private:
// methods
void PrintBanner() const;
void PrintTrackInfo() const;
void PrintStepHeader() const;
// data members
Int_t fLevel; // verbose level
Int_t fStepNumber; // current step number
ClassDef(TMCVerbose,1) //Verbose class for MC application
};
// inline functions
inline void TMCVerbose::SetLevel(Int_t level)
{ fLevel = level; }
#endif //ROOT_TMCVerbose
|