Files
geant4/examples/extended/optical/LXe/include/LXeOpticalPhysics.hh
T
2016-06-09 10:56:29 +02:00

74 lines
2.5 KiB
C++

//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
#ifndef LXeOpticalPhysics_h
#define LXeOpticalPhysics_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4Scintillation.hh"
#include "G4Cerenkov.hh"
#include "G4OpAbsorption.hh"
#include "G4OpRayleigh.hh"
#include "G4OpBoundaryProcess.hh"
#include "G4OpWLS.hh"
class LXeOpticalPhysics : public G4VPhysicsConstructor
{
public:
LXeOpticalPhysics(const G4String& name ="optical");
virtual ~LXeOpticalPhysics();
public:
// This method will be invoked in the Construct() method.
// each particle type will be instantiated
virtual void ConstructParticle();
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
void SetScintYieldFactor(G4double yf);
protected:
G4Scintillation* theScintProcess;
G4Cerenkov* theCerenkovProcess;
G4OpAbsorption* theAbsorptionProcess;
G4OpRayleigh* theRayleighScattering;
G4OpBoundaryProcess* theBoundaryProcess;
G4OpWLS* theWLSProcess;
};
#endif