![]() |
ATLAS Offline Software
|
The photon conversion tool, to be called by the MaterialUpdator. More...
#include <PhotonConversionTool.h>
Public Member Functions | |
| PhotonConversionTool (const std::string &, const std::string &, const IInterface *) | |
| AlgTool constructor for PhotonConversionTool. | |
| virtual | ~PhotonConversionTool () |
| Destructor. | |
| StatusCode | initialize () |
| AlgTool initailize method. | |
| StatusCode | finalize () |
| AlgTool finalize method. | |
| bool | pairProduction (const Trk::MaterialProperties &mprop, double pathCorrection, double p) const |
| interface for processing of the pair production | |
| bool | doConversion (double time, const Trk::NeutralParameters &parm, const Trk::ExtendedMaterialProperties *extMatProp=0) const |
| interface for processing of the presampled pair production | |
| ISF::ISFParticleVector | doConversionOnLayer (const ISF::ISFParticle *parent, double time, const Trk::NeutralParameters &parm, const Trk::ExtendedMaterialProperties *ematprop=0) const |
| interface for processing of the presampled nuclear interactions on layer | |
Private Member Functions | |
| void | recordChilds (double time, const Amg::Vector3D &vertex, const Amg::Vector3D &photonDirection, double childEnergy, double photonEnergy, const Amg::Vector3D &childDirection, Trk::ParticleHypothesis childType=Trk::electron) const |
| record childs - create interface already for mu-/mu+ pair production | |
| ISF::ISFParticleVector | getChilds (const ISF::ISFParticle *parent, double time, const Amg::Vector3D &vertex, const Amg::Vector3D &photonDirection, double childEnergy, double photonEnergy, const Amg::Vector3D &childDirection, Trk::ParticleHypothesis childType) const |
| get childs - for layer update | |
| double | childEnergyFraction (const Trk::MaterialProperties &mprop, double gammaMom) const |
| simulate the child energy | |
| double | childEnergyFraction (double gammaMom) const |
| Amg::Vector3D | childDirection (const Amg::Vector3D &gammaMom, double childE) const |
| simulate the one child direction - the second one is given clear then | |
| double | phi1 (double delta) const |
| helper functions for the Phi1/phi2 | |
| double | phi2 (double delta) const |
| helper functions for the Phi1/phi2 | |
Private Attributes | |
| ServiceHandle< ISF::IParticleBroker > | m_particleBroker |
| ISF services & Tools. | |
| ServiceHandle< ISF::ITruthSvc > | m_truthRecordSvc |
| int | m_processCode |
| MCTruth process code for TruthIncidents created by this tool. | |
| bool | m_referenceMaterial |
| Switch to use reference material. | |
| double | m_minChildEnergy |
| The cut from which on the child products are followed. | |
| double | m_childEnergyScaleFactor |
| double | m_conversionProbScaleFactor |
| ServiceHandle< IAtRndmGenSvc > | m_rndGenSvc |
| Random Generator service. | |
| CLHEP::HepRandomEngine * | m_randomEngine |
| std::string | m_randomEngineName |
| Name of the random number stream. | |
| int | m_recordedConversions |
| debug output - count the conversions | |
| int | m_droppedConversions |
| bool | m_validationMode |
| std::string | m_validationTreeName |
| validation tree name - to be acessed by this from root | |
| std::string | m_validationTreeDescription |
| validation tree description - second argument in TTree | |
| std::string | m_validationTreeFolder |
| stream/folder to for the TTree to be written out | |
| TTree * | m_validationTree |
| Root Validation Tree. | |
| ToolHandle< IPhysicsValidationTool > | m_validationTool |
| float | m_conversionPointX |
| float | m_conversionPointY |
| float | m_conversionPointR |
| float | m_conversionPointZ |
| float | m_conversionPhotonEnergy |
| float | m_conversionChildEnergy |
| float | m_conversionChildAngle |
Static Private Attributes | |
| static const Trk::PdgToParticleHypothesis | s_pdgToHypo |
The photon conversion tool, to be called by the MaterialUpdator.
Definition at line 48 of file PhotonConversionTool.h.
| iFatras::PhotonConversionTool::PhotonConversionTool | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
AlgTool constructor for PhotonConversionTool.
Definition at line 60 of file PhotonConversionTool.cxx.
|
virtualdefault |
Destructor.
|
private |
simulate the one child direction - the second one is given clear then
Definition at line 558 of file PhotonConversionTool.cxx.
|
private |
simulate the child energy
Definition at line 449 of file PhotonConversionTool.cxx.
|
private |
Definition at line 504 of file PhotonConversionTool.cxx.
| bool iFatras::PhotonConversionTool::doConversion | ( | double | time, |
| const Trk::NeutralParameters & | parm, | ||
| const Trk::ExtendedMaterialProperties * | extMatProp = 0 ) const |
interface for processing of the presampled pair production
Definition at line 611 of file PhotonConversionTool.cxx.
| ISF::ISFParticleVector iFatras::PhotonConversionTool::doConversionOnLayer | ( | const ISF::ISFParticle * | parent, |
| double | time, | ||
| const Trk::NeutralParameters & | parm, | ||
| const Trk::ExtendedMaterialProperties * | ematprop = 0 ) const |
interface for processing of the presampled nuclear interactions on layer
Definition at line 643 of file PhotonConversionTool.cxx.
| StatusCode iFatras::PhotonConversionTool::finalize | ( | ) |
AlgTool finalize method.
Definition at line 173 of file PhotonConversionTool.cxx.
|
private |
get childs - for layer update
Definition at line 315 of file PhotonConversionTool.cxx.
| StatusCode iFatras::PhotonConversionTool::initialize | ( | ) |
AlgTool initailize method.
Definition at line 112 of file PhotonConversionTool.cxx.
| bool iFatras::PhotonConversionTool::pairProduction | ( | const Trk::MaterialProperties & | mprop, |
| double | pathCorrection, | ||
| double | p ) const |
interface for processing of the pair production
Definition at line 402 of file PhotonConversionTool.cxx.
|
inlineprivate |
helper functions for the Phi1/phi2
Definition at line 157 of file PhotonConversionTool.h.
|
inlineprivate |
helper functions for the Phi1/phi2
Definition at line 164 of file PhotonConversionTool.h.
|
private |
record childs - create interface already for mu-/mu+ pair production
Definition at line 186 of file PhotonConversionTool.cxx.
|
private |
Definition at line 121 of file PhotonConversionTool.h.
|
mutableprivate |
Definition at line 150 of file PhotonConversionTool.h.
|
mutableprivate |
Definition at line 149 of file PhotonConversionTool.h.
|
mutableprivate |
Definition at line 148 of file PhotonConversionTool.h.
|
mutableprivate |
Definition at line 146 of file PhotonConversionTool.h.
|
mutableprivate |
Definition at line 144 of file PhotonConversionTool.h.
|
mutableprivate |
Definition at line 145 of file PhotonConversionTool.h.
|
mutableprivate |
Definition at line 147 of file PhotonConversionTool.h.
|
private |
Definition at line 122 of file PhotonConversionTool.h.
|
mutableprivate |
Definition at line 132 of file PhotonConversionTool.h.
|
private |
The cut from which on the child products are followed.
Definition at line 120 of file PhotonConversionTool.h.
|
private |
ISF services & Tools.
Definition at line 110 of file PhotonConversionTool.h.
|
private |
MCTruth process code for TruthIncidents created by this tool.
Definition at line 114 of file PhotonConversionTool.h.
|
private |
Definition at line 127 of file PhotonConversionTool.h.
|
private |
Name of the random number stream.
Definition at line 128 of file PhotonConversionTool.h.
|
mutableprivate |
debug output - count the conversions
Definition at line 131 of file PhotonConversionTool.h.
|
private |
Switch to use reference material.
Definition at line 117 of file PhotonConversionTool.h.
|
private |
Random Generator service.
Definition at line 126 of file PhotonConversionTool.h.
|
private |
Definition at line 111 of file PhotonConversionTool.h.
|
private |
Definition at line 135 of file PhotonConversionTool.h.
|
private |
Definition at line 141 of file PhotonConversionTool.h.
|
private |
Definition at line 140 of file PhotonConversionTool.h.
|
private |
validation tree description - second argument in TTree
Definition at line 137 of file PhotonConversionTool.h.
|
private |
stream/folder to for the TTree to be written out
Definition at line 138 of file PhotonConversionTool.h.
|
private |
validation tree name - to be acessed by this from root
Definition at line 136 of file PhotonConversionTool.h.
|
staticprivate |
Definition at line 153 of file PhotonConversionTool.h.