[807] | 1 | // |
---|
| 2 | // ******************************************************************** |
---|
| 3 | // * License and Disclaimer * |
---|
| 4 | // * * |
---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
| 7 | // * conditions of the Geant4 Software License, included in the file * |
---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
| 9 | // * include a list of copyright holders. * |
---|
| 10 | // * * |
---|
| 11 | // * Neither the authors of this software system, nor their employing * |
---|
| 12 | // * institutes,nor the agencies providing financial support for this * |
---|
| 13 | // * work make any representation or warranty, express or implied, * |
---|
| 14 | // * regarding this software system or assume any liability for its * |
---|
| 15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
| 16 | // * for the full disclaimer and the limitation of liability. * |
---|
| 17 | // * * |
---|
| 18 | // * This code implementation is the result of the scientific and * |
---|
| 19 | // * technical work of the GEANT4 collaboration. * |
---|
| 20 | // * By using, copying, modifying or distributing the software (or * |
---|
| 21 | // * any work based on the software) you agree to acknowledge its * |
---|
| 22 | // * use in resulting scientific publications, and indicate your * |
---|
| 23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
| 24 | // ******************************************************************** |
---|
| 25 | // |
---|
| 26 | // |
---|
| 27 | // $Id: ExN07SteppingVerbose.hh,v 1.1 2006/11/04 19:23:07 asaim Exp $ |
---|
| 28 | // GEANT4 tag $Name: $ |
---|
| 29 | // |
---|
| 30 | // |
---|
| 31 | |
---|
| 32 | class ExN07SteppingVerbose; |
---|
| 33 | |
---|
| 34 | #ifndef ExN07SteppingVerbose_h |
---|
| 35 | #define ExN07SteppingVerbose_h 1 |
---|
| 36 | |
---|
| 37 | #include <vector> |
---|
| 38 | #include "G4VSteppingVerbose.hh" |
---|
| 39 | #include "G4SliceTimer.hh" |
---|
| 40 | |
---|
| 41 | class G4Region; |
---|
| 42 | |
---|
| 43 | class ExN07SteppingVerbose : public G4VSteppingVerbose |
---|
| 44 | { |
---|
| 45 | public: |
---|
| 46 | |
---|
| 47 | ExN07SteppingVerbose(); |
---|
| 48 | ~ExN07SteppingVerbose(); |
---|
| 49 | |
---|
| 50 | void InitializeTimers(); |
---|
| 51 | void Report(); |
---|
| 52 | |
---|
| 53 | virtual void NewStep(); |
---|
| 54 | virtual void StepInfo(); |
---|
| 55 | |
---|
| 56 | // Following methods are not used |
---|
| 57 | virtual void TrackBanner(); |
---|
| 58 | virtual void AtRestDoItInvoked(); |
---|
| 59 | virtual void AlongStepDoItAllDone(); |
---|
| 60 | virtual void PostStepDoItAllDone(); |
---|
| 61 | virtual void AlongStepDoItOneByOne(); |
---|
| 62 | virtual void PostStepDoItOneByOne(); |
---|
| 63 | virtual void TrackingStarted(); |
---|
| 64 | virtual void DPSLStarted(); |
---|
| 65 | virtual void DPSLUserLimit(); |
---|
| 66 | virtual void DPSLPostStep(); |
---|
| 67 | virtual void DPSLAlongStep(); |
---|
| 68 | virtual void VerboseTrack(); |
---|
| 69 | virtual void VerboseParticleChange(); |
---|
| 70 | |
---|
| 71 | private: |
---|
| 72 | G4int FindRegion(G4Region*); |
---|
| 73 | |
---|
| 74 | private: |
---|
| 75 | std::vector<G4SliceTimer*> fTimers; |
---|
| 76 | G4int nRegions,nTimers,regIdx; |
---|
| 77 | G4bool ep; |
---|
| 78 | }; |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | #endif |
---|