|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKDETDESCRTOOLS_MATERIALMAPPER_H
10 #define TRKDETDESCRTOOLS_MATERIALMAPPER_H
16 #include "GaudiKernel/IIncidentListener.h"
17 #include "GaudiKernel/ITHistSvc.h"
25 #define TRKDETDESCRTOOLS_MAXSTEPS 8000
26 #define TRKDETDESCRTOOLS_MAXLAYERHITS 5000
61 tree->Branch(
"Eta", &
eta,
"eta/F");
62 tree->Branch(
"Phi", &
phi,
"phi/F");
63 tree->Branch(
"Path", &
path,
"path/F");
128 tree->Branch(
"Path", &
path,
"pathInX0/F");
131 tree->Branch(
"A", &
A,
"a/F");
132 tree->Branch(
"Z", &
Z,
"z/F");
133 tree->Branch(
"Rho", &
rho,
"rho/F");
135 tree->Branch(
"HitPathInX0", &
hitPathInX0,
"layerhitpathInX0[layerhits]/F");
180 tree->Branch(
"Local1", &
loc1,
"local1/F");
181 tree->Branch(
"Local2", &
loc2,
"local2/F");
182 tree->Branch(
"Eta", &
eta,
"eta/F");
184 tree->Branch(
"Path", &
path,
"path/F");
187 tree->Branch(
"A", &
A,
"a/F");
188 tree->Branch(
"Z", &
Z,
"z/F");
189 tree->Branch(
"Rho", &
rho,
"rho/F");
233 void handle(
const Incident& inc );
238 void finalizeVolumeHits(
bool mapped=
true)
const;
241 void finalizeLayerHits()
const;
244 void finalizeSurfaceHits()
const;
247 void bookValidationTree();
310 mutable std::map< const Trk::TrackingVolume*, VolumeTreeObject* >
m_volumeTrees;
328 #endif // TRKDETDESCRTOOLS_MATERIALMAPPER_H
std::string m_surfaceTreePrefix
std::map< const Trk::TrackingVolume *, VolumeTreeObject * > m_volumeTreesUnmapped
std::map< const Trk::Layer *, LayerTreeObject * > m_layerTrees
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
std::string m_validationTreeDescription
validation tree description - second argument in TTree
float hitPositionR[TRKDETDESCRTOOLS_MAXLAYERHITS]
float m_mappedPathInX0
total mapped path in X0
float hitPathInX0[TRKDETDESCRTOOLS_MAXLAYERHITS]
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Eigen::Matrix< double, 2, 1 > Vector2D
TTree * m_validationTree
The validation tree.
float m_mappedPathRho
total mapped path times rho
SurfaceTreeObject(TString name, TString title)
ServiceHandle< ITHistSvc > m_histSvc
std::string m_volumeTreePrefix
std::string m_layerTreePrefix
VolumeTreeObject(TString name, TString title)
VolumeTreeObject(const VolumeTreeObject &)=delete
ServiceHandle< IIncidentSvc > m_incidentSvc
float hitPositionEta[TRKDETDESCRTOOLS_MAXLAYERHITS]
std::map< const Trk::Layer *, LayerTreeObject * > m_layerFullTrees
int m_materialSteps
number of update positions
unsigned int m_maxMappingEvents
unsigned int m_processedEvents
#define TRKDETDESCRTOOLS_MAXLAYERHITS
float m_unmappedPathInX0
total path in x0 in these events lost
::StatusCode StatusCode
StatusCode definition for legacy code.
float m_mappedPathZARho
total mapped path times (Z/A)*rho
std::string m_validationTreeFolder
stream/folder to for the TTree to be written out
float m_mappedPathInL0
total mapped path in L0
#define TRKDETDESCRTOOLS_MAXSTEPS
std::string m_validationTreeName
validation tree name - to be accessed by this from root
Ensure that the ATLAS eigen extensions are properly loaded.
Eigen::Matrix< double, 3, 1 > Vector3D
std::string m_totalMaterialTree
float m_averagePhi
average ogu
LayerTreeObject & operator=(const LayerTreeObject &)=delete
SurfaceTreeObject(const SurfaceTreeObject &)=delete
float hitPositionY[TRKDETDESCRTOOLS_MAXLAYERHITS]
std::map< const Trk::Layer *, SurfaceTreeObject * > m_surfaceTrees
VolumeTreeObject & operator=(const VolumeTreeObject &)=delete
float hitPositionZ[TRKDETDESCRTOOLS_MAXLAYERHITS]
LayerTreeObject(const LayerTreeObject &)=delete
std::vector< std::string > mapped
LayerTreeObject(TString name, TString title)
float m_mappedPath
total mapped path
float m_averageEta
average eta
std::map< const Trk::TrackingVolume *, VolumeTreeObject * > m_volumeTrees
Define macros for attributes used to control the static checker.
float hitPositionX[TRKDETDESCRTOOLS_MAXLAYERHITS]
int m_materialAssociationType
SurfaceTreeObject & operator=(const SurfaceTreeObject &)=delete