Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-17 08:32:31

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 /// \file RE06SteppingVerbose.hh
0027 /// \brief Definition of the RE06SteppingVerbose class
0028 
0029 class RE06SteppingVerbose;
0030 
0031 #ifndef RE06SteppingVerbose_h
0032 #define RE06SteppingVerbose_h 1
0033 
0034 #include "G4SliceTimer.hh"
0035 #include "G4VSteppingVerbose.hh"
0036 
0037 #include <vector>
0038 
0039 class G4Region;
0040 
0041 class RE06SteppingVerbose : public G4VSteppingVerbose
0042 {
0043   public:
0044     RE06SteppingVerbose();
0045     virtual ~RE06SteppingVerbose();
0046 
0047     virtual G4VSteppingVerbose* Clone() { return new RE06SteppingVerbose; }
0048 
0049     void InitializeTimers();
0050     void Report();
0051 
0052     virtual void NewStep();
0053     virtual void StepInfo();
0054 
0055     // Following methods are not used
0056     virtual void TrackBanner() {}
0057     virtual void AtRestDoItInvoked() {}
0058     virtual void AlongStepDoItAllDone() {}
0059     virtual void PostStepDoItAllDone() {}
0060     virtual void AlongStepDoItOneByOne() {}
0061     virtual void PostStepDoItOneByOne() {}
0062     virtual void TrackingStarted() {}
0063     virtual void DPSLStarted() {}
0064     virtual void DPSLUserLimit() {}
0065     virtual void DPSLPostStep() {}
0066     virtual void DPSLAlongStep() {}
0067     virtual void VerboseTrack() {}
0068     virtual void VerboseParticleChange() {}
0069 
0070   private:
0071     G4int FindRegion(G4Region*);
0072 
0073     std::vector<G4SliceTimer*> fTimers;
0074     G4int fNofRegions;
0075     G4int fNofTimers;
0076     G4int fRegIdx;
0077     G4bool fEp;
0078 };
0079 
0080 #endif