1 #ifndef SimG4CMS_DreamSD_h 2 #define SimG4CMS_DreamSD_h 9 #include "G4PhysicsOrderedFreeVector.hh" 15 class G4LogicalVolume;
49 const G4Material* aMaterial,
50 const G4MaterialPropertyVector* rIndex );
53 const G4ThreeVector&
x,
54 const G4Step* aStep );
double getPhotonEnergyDeposit_(const G4ParticleMomentum &p, const G4ThreeVector &x, const G4Step *aStep)
Returns energy deposit for a given photon.
std::pair< double, double > Doubles
uint32_t setDetUnitId(const G4Step *) override
bool setPbWO2MaterialProperties_(G4Material *aMaterial)
Sets material properties at run-time...
type of data representation of DDCompactView
std::map< G4LogicalVolume *, Doubles > DimensionMap
double cherenkovDeposit_(const G4Step *aStep)
Returns the total energy due to Cherenkov radiation.
double getAverageNumberOfPhotons_(const double charge, const double beta, const G4Material *aMaterial, const G4MaterialPropertyVector *rIndex)
Returns average number of photons created by track.
G4MaterialPropertiesTable * materialPropertiesTable
double curve_LY(const G4Step *, int)
const double crystalWidth(G4LogicalVolume *) const
std::unique_ptr< G4PhysicsOrderedFreeVector > chAngleIntegrals_
Table of Cherenkov angle integrals vs photon momentum.
DreamSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override
const double crystalLength(G4LogicalVolume *) const
void initMap(const std::string &, const DDCompactView &)
G4bool getStepInfo(G4Step *aStep) override