Changeset 94 for MEMPHYS


Ignore:
Timestamp:
Jan 24, 2006, 3:54:31 PM (18 years ago)
Author:
campagne
Message:

option for drawing Optical Photon (JEC)

Location:
MEMPHYS/HEAD/MEMPHYS
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • MEMPHYS/HEAD/MEMPHYS/TrackingAction.hh

    r70 r94  
    1515namespace MEMPHYS {
    1616
     17class TrackingActionMessenger; //JEC 24/1/06 to add a switch for optical photon display
     18
    1719class TrackingAction : public G4UserTrackingAction {
    1820 public:
    19    TrackingAction();
     21  TrackingAction();
    2022  virtual ~TrackingAction();
    2123
     
    2325  void PostUserTrackingAction(const G4Track* aTrack);
    2426
     27  //JEC 24/1/06
     28  void SetDrawOpticalPhoton(bool value) {drawOpticalPhoton = value;}
     29
    2530private:
    2631  std::set<G4String> ProcessList;
    2732  std::set<G4int> ParticleList;
     33
     34
    2835 
    29   //JEC 15/11/05 add these parameters (may be later on a messenger)
    30   G4float percentageOfCherenkovPhotonsToDraw;
    31   G4float thresholdTobeSaved;
     36  //JEC 24/1/06
     37  TrackingActionMessenger* messenger;
     38  G4bool drawOpticalPhoton;
     39 
    3240};
    3341}
Note: See TracChangeset for help on using the changeset viewer.