Skip to content
Snippets Groups Projects
EcalFastSimG4Model.h 490 B
Newer Older
myliu@ihep.ac.cn's avatar
myliu@ihep.ac.cn committed
#ifndef EcalFastSimG4Model_h
#define EcalFastSimG4Model_h

#include "G4VFastSimulationModel.hh"

class EcalFastSimG4Model: public G4VFastSimulationModel {
public:

    EcalFastSimG4Model(G4String aModelName, G4Region* aEnvelope);
    ~EcalFastSimG4Model();

    virtual G4bool IsApplicable( const G4ParticleDefinition& aParticle );
    virtual G4bool ModelTrigger( const G4FastTrack& aFastTrack );
    virtual void DoIt( const G4FastTrack& aFastTrack, G4FastStep& aFastStep );

};

#endif