![]() |
ATLAS Offline Software
|
Helper Class to record the material during the GeantinoNtupleMappingProcess. More...
#include <LayerMaterialRecord.h>
Public Member Functions | |
| LayerMaterialRecord () | |
| Default Constructor. | |
| LayerMaterialRecord (double tlayer, const BinUtility *binutils, double minFraction, MaterialAssociationType assoc=EffectiveNumAtoms) | |
| Constructor. | |
| LayerMaterialRecord (const LayerMaterialRecord &lmr) | |
| Constructor. | |
| ~LayerMaterialRecord () | |
| Destructor. | |
| LayerMaterialRecord & | operator= (const LayerMaterialRecord &lmr) |
| Assignment operator. | |
| void | associateGeantinoHit (const Amg::Vector3D &pos, double s, const Trk::Material &mat) |
| adding the information about the Geantino hit | |
| void | associateEmptyHit (const Amg::Vector3D &pos) |
| adding the information about an empty hit scaling- particle crossed layer, but no mapping information | |
| AssociatedMaterial * | finalizeEvent (const Trk::Layer &lay, bool fullHit=false) |
| finalize the Event | |
| void | finalizeRun (bool recordElements=true) |
| finalize the Run | |
| const MaterialPropertiesMatrix & | associatedLayerMaterial () const |
| return method for the LayerMaterial | |
| const std::vector< std::vector< unsigned int > > & | binCounts () const |
| return method for the events used for this | |
| const Trk::BinUtility * | binUtility () const |
| return the BinUtility | |
Private Member Functions | |
| void | clearMaterial () |
| copy from another vector | |
| void | copyMaterial (const MaterialPropertiesMatrix &mat) |
Private Attributes | |
| double | m_layerThickness |
| record the layerThickness | |
| BinUtility * | m_binUtility |
| record the BinnedArray | |
| int | m_bins0 |
| number of bins in coordinate 1 | |
| int | m_bins1 |
| number of bins in coordinate 2 | |
| double | m_minFraction |
| minimum element fraction to be recorded | |
| int | m_steps |
| Amg::Vector3D | m_pos |
| event related information | |
| bool | m_emptyHitCase |
| double | m_s |
| double | m_s_in_x0 |
| double | m_s_in_l0 |
| double | m_a |
| double | m_z |
| double | m_rho |
| std::map< unsigned int, double > | m_elements |
| MaterialAssociationType | m_assoc |
| type of hit association | |
| std::vector< std::vector< unsigned int > > | m_run_events |
| std::vector< std::vector< Amg::Vector3D > > | m_run_pos |
| std::vector< std::vector< double > > | m_run_s |
| std::vector< std::vector< double > > | m_run_s_in_x0 |
| std::vector< std::vector< double > > | m_run_s_in_l0 |
| std::vector< std::vector< double > > | m_run_a |
| std::vector< std::vector< double > > | m_run_z |
| std::vector< std::vector< double > > | m_run_rho |
| std::vector< std::vector< std::map< unsigned int, double > > > | m_run_elements |
| the final material properties | |
| MaterialPropertiesMatrix | m_associatedLayerMaterial |
| clear the material -> calls delete | |
Helper Class to record the material during the GeantinoNtupleMappingProcess.
Definition at line 42 of file LayerMaterialRecord.h.
| Trk::LayerMaterialRecord::LayerMaterialRecord | ( | ) |
Default Constructor.
Definition at line 24 of file LayerMaterialRecord.cxx.
| Trk::LayerMaterialRecord::LayerMaterialRecord | ( | double | tlayer, |
| const BinUtility * | binutils, | ||
| double | minFraction, | ||
| Trk::MaterialAssociationType | assoc = EffectiveNumAtoms ) |
Constructor.
Definition at line 43 of file LayerMaterialRecord.cxx.
| Trk::LayerMaterialRecord::LayerMaterialRecord | ( | const LayerMaterialRecord & | lmr | ) |
Constructor.
Definition at line 83 of file LayerMaterialRecord.cxx.
| Trk::LayerMaterialRecord::~LayerMaterialRecord | ( | ) |
Destructor.
Definition at line 149 of file LayerMaterialRecord.cxx.
|
inline |
return method for the LayerMaterial
Definition at line 129 of file LayerMaterialRecord.h.
| void Trk::LayerMaterialRecord::associateEmptyHit | ( | const Amg::Vector3D & | pos | ) |
adding the information about an empty hit scaling- particle crossed layer, but no mapping information
Definition at line 188 of file LayerMaterialRecord.cxx.
| void Trk::LayerMaterialRecord::associateGeantinoHit | ( | const Amg::Vector3D & | pos, |
| double | s, | ||
| const Trk::Material & | mat ) |
adding the information about the Geantino hit
Definition at line 154 of file LayerMaterialRecord.cxx.
|
inline |
return method for the events used for this
Definition at line 134 of file LayerMaterialRecord.h.
|
inline |
return the BinUtility
Definition at line 138 of file LayerMaterialRecord.h.
|
private |
copy from another vector
Definition at line 361 of file LayerMaterialRecord.cxx.
|
private |
Definition at line 377 of file LayerMaterialRecord.cxx.
| Trk::AssociatedMaterial * Trk::LayerMaterialRecord::finalizeEvent | ( | const Trk::Layer & | lay, |
| bool | fullHit = false ) |
finalize the Event
Constructor with explicit arguments
Definition at line 195 of file LayerMaterialRecord.cxx.
| void Trk::LayerMaterialRecord::finalizeRun | ( | bool | recordElements = true | ) |
finalize the Run
Definition at line 285 of file LayerMaterialRecord.cxx.
| Trk::LayerMaterialRecord & Trk::LayerMaterialRecord::operator= | ( | const LayerMaterialRecord & | lmr | ) |
Assignment operator.
Definition at line 113 of file LayerMaterialRecord.cxx.
|
private |
Definition at line 101 of file LayerMaterialRecord.h.
|
private |
type of hit association
run related information - normalized per event
Definition at line 105 of file LayerMaterialRecord.h.
|
private |
clear the material -> calls delete
Definition at line 120 of file LayerMaterialRecord.h.
|
private |
number of bins in coordinate 1
Definition at line 88 of file LayerMaterialRecord.h.
|
private |
number of bins in coordinate 2
Definition at line 89 of file LayerMaterialRecord.h.
|
private |
record the BinnedArray
Definition at line 87 of file LayerMaterialRecord.h.
|
private |
Definition at line 104 of file LayerMaterialRecord.h.
|
private |
Definition at line 97 of file LayerMaterialRecord.h.
|
private |
record the layerThickness
Definition at line 86 of file LayerMaterialRecord.h.
|
private |
minimum element fraction to be recorded
event normalizers
Definition at line 90 of file LayerMaterialRecord.h.
|
private |
event related information
Definition at line 94 of file LayerMaterialRecord.h.
|
private |
Definition at line 103 of file LayerMaterialRecord.h.
|
private |
Definition at line 113 of file LayerMaterialRecord.h.
|
private |
the final material properties
Definition at line 117 of file LayerMaterialRecord.h.
|
private |
Definition at line 108 of file LayerMaterialRecord.h.
|
private |
Definition at line 109 of file LayerMaterialRecord.h.
|
private |
Definition at line 115 of file LayerMaterialRecord.h.
|
private |
Definition at line 110 of file LayerMaterialRecord.h.
|
private |
Definition at line 112 of file LayerMaterialRecord.h.
|
private |
Definition at line 111 of file LayerMaterialRecord.h.
|
private |
Definition at line 114 of file LayerMaterialRecord.h.
|
private |
Definition at line 98 of file LayerMaterialRecord.h.
|
private |
Definition at line 100 of file LayerMaterialRecord.h.
|
private |
Definition at line 99 of file LayerMaterialRecord.h.
|
private |
Definition at line 93 of file LayerMaterialRecord.h.
|
private |
Definition at line 102 of file LayerMaterialRecord.h.