Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:22:45

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 RE06/include/RE06SteppingVerbose.hh
0027 /// \brief Definition of the RE06SteppingVerbose class
0028 //
0029 //
0030 
0031 class RE06SteppingVerbose;
0032 
0033 #ifndef RE06SteppingVerbose_h
0034 #define RE06SteppingVerbose_h 1
0035 
0036 #include "G4SliceTimer.hh"
0037 #include "G4VSteppingVerbose.hh"
0038 
0039 #include <vector>
0040 
0041 class G4Region;
0042 
0043 class RE06SteppingVerbose : public G4VSteppingVerbose
0044 {
0045   public:
0046     RE06SteppingVerbose();
0047     virtual ~RE06SteppingVerbose();
0048 
0049     virtual G4VSteppingVerbose* Clone() { return new RE06SteppingVerbose; }
0050 
0051     void InitializeTimers();
0052     void Report();
0053 
0054     virtual void NewStep();
0055     virtual void StepInfo();
0056 
0057     // Following methods are not used
0058     virtual void TrackBanner() {}
0059     virtual void AtRestDoItInvoked() {}
0060     virtual void AlongStepDoItAllDone() {}
0061     virtual void PostStepDoItAllDone() {}
0062     virtual void AlongStepDoItOneByOne() {}
0063     virtual void PostStepDoItOneByOne() {}
0064     virtual void TrackingStarted() {}
0065     virtual void DPSLStarted() {}
0066     virtual void DPSLUserLimit() {}
0067     virtual void DPSLPostStep() {}
0068     virtual void DPSLAlongStep() {}
0069     virtual void VerboseTrack() {}
0070     virtual void VerboseParticleChange() {}
0071 
0072   private:
0073     G4int FindRegion(G4Region*);
0074 
0075     std::vector<G4SliceTimer*> fTimers;
0076     G4int fNofRegions;
0077     G4int fNofTimers;
0078     G4int fRegIdx;
0079     G4bool fEp;
0080 };
0081 
0082 #endif