ATLAS Offline Software
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
G4UA::StepHistogram Class Reference

#include <StepHistogram.h>

Inheritance diagram for G4UA::StepHistogram:
Collaboration diagram for G4UA::StepHistogram:

Classes

struct  Config
 
struct  Report
 this holds all the data from individual threads that needs to be merged at EoR More...
 

Public Types

typedef std::map< G4String, TH1 * > HistoMap_t
 
typedef std::map< G4String, HistoMap_tHistoMapMap_t
 

Public Member Functions

virtual void UserSteppingAction (const G4Step *) override
 the hooks for G4 UA handling More...
 
 StepHistogram (const Config &)
 ctor More...
 
const ReportgetReport () const
 
bool msgLvl (const MSG::Level lvl) const
 Test the output level. More...
 
MsgStream & msg () const
 The standard message stream. More...
 
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream. More...
 
void setLevel (MSG::Level lvl)
 Change the current logging level. More...
 

Private Member Functions

void InitializeFillHistogram2D (HistoMapMap_t &hMapMap, const char *suffix, const G4String &pdgId, const G4String &vol, int nbinsx, double xmin, double xmax, int nbinsy, double ymin, double ymax, double valuex, double valuey, double weight)
 
void InitializeFillHistogram (HistoMapMap_t &hMapMap, const char *suffix, const G4String &pdgId, const G4String &vol, int nbins, double xmin, double xmax, double value, double weight)
 
void InitializeFillHistogram (HistoMapMap_t &hMapMap, const char *suffix, const G4String &pdgId, const G4String &vol, int nbins, double *edges, double value, double weight)
 
void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

Report m_report
 
Config m_config
 configuration data More...
 
float m_initialKineticEnergyOfStep
 
G4String m_initialVolume
 
G4String m_initialMaterial
 
G4String m_initialProcess
 
int m_trackID = 0
 
std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

Detailed Description

Definition at line 29 of file StepHistogram.h.

Member Typedef Documentation

◆ HistoMap_t

typedef std::map<G4String, TH1*> G4UA::StepHistogram::HistoMap_t

Definition at line 39 of file StepHistogram.h.

◆ HistoMapMap_t

typedef std::map<G4String, HistoMap_t> G4UA::StepHistogram::HistoMapMap_t

Definition at line 40 of file StepHistogram.h.

Constructor & Destructor Documentation

◆ StepHistogram()

G4UA::StepHistogram::StepHistogram ( const Config config)

ctor

Definition at line 30 of file StepHistogram.cxx.

30  :
31  AthMessaging(Gaudi::svcLocator()->service<IMessageSvc>("MessageSvc"),"StepHistogram"),
37  {}

Member Function Documentation

◆ getReport()

const Report& G4UA::StepHistogram::getReport ( ) const
inline

Definition at line 116 of file StepHistogram.h.

116 { return m_report; }

◆ InitializeFillHistogram() [1/2]

void G4UA::StepHistogram::InitializeFillHistogram ( HistoMapMap_t hMapMap,
const char *  suffix,
const G4String &  pdgId,
const G4String &  vol,
int  nbins,
double *  edges,
double  value,
double  weight 
)
private

Definition at line 256 of file StepHistogram.cxx.

259  {
260  const auto& [pStringMapPair, inserted] = hMapMap.try_emplace(vol,HistoMap_t());
261  HistoMap_t &hMap = pStringMapPair->second;
262  if ( hMap.find(particleName) == hMap.end() ) {
263  // initialize histogram if not yet exist
264  std::ostringstream stringStream;
265  stringStream << vol << "_" << particleName << "_" << suffix;
266  hMap[particleName] = new TH1F(stringStream.str().c_str(), stringStream.str().c_str(), nbins, edges);
267  }
268  hMap[particleName]->Fill(value, weight);
269  }

◆ InitializeFillHistogram() [2/2]

void G4UA::StepHistogram::InitializeFillHistogram ( HistoMapMap_t hMapMap,
const char *  suffix,
const G4String &  pdgId,
const G4String &  vol,
int  nbins,
double  xmin,
double  xmax,
double  value,
double  weight 
)
private

Definition at line 241 of file StepHistogram.cxx.

244  {
245  const auto& [pStringMapPair, inserted] = hMapMap.try_emplace(vol,HistoMap_t());
246  HistoMap_t &hMap = pStringMapPair->second;
247  if ( hMap.find(particleName) == hMap.end() ) {
248  // initialize histogram if not yet exist
249  std::ostringstream stringStream;
250  stringStream << vol << "_" << particleName << "_" << suffix;
251  hMap[particleName] = new TH1F(stringStream.str().c_str(), stringStream.str().c_str(), nbins, xmin, xmax);
252  }
253  hMap[particleName]->Fill(value, weight);
254  }

◆ InitializeFillHistogram2D()

void G4UA::StepHistogram::InitializeFillHistogram2D ( HistoMapMap_t hMapMap,
const char *  suffix,
const G4String &  pdgId,
const G4String &  vol,
int  nbinsx,
double  xmin,
double  xmax,
int  nbinsy,
double  ymin,
double  ymax,
double  valuex,
double  valuey,
double  weight 
)
private

Definition at line 224 of file StepHistogram.cxx.

229  {
230  const auto& [pStringMapPair, inserted] = hMapMap.try_emplace(vol,HistoMap_t());
231  HistoMap_t &hMap = pStringMapPair->second;
232  if ( hMap.find(particleName) == hMap.end() ) {
233  // initialize histogram if not yet exist
234  std::ostringstream stringStream;
235  stringStream << vol << "_" << particleName << "_" << suffix;
236  hMap[particleName] = new TH2F(stringStream.str().c_str(), stringStream.str().c_str(), nbinsx, xmin, xmax, nbinsy, ymin, ymax);
237  }
238  static_cast<TH2*>(hMap[particleName])->Fill(valuex, valuey, weight);
239  }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 42 of file AthMessaging.cxx.

43 {
45  m_lvl = m_imsg ?
46  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
47  MSG::INFO;
48 }

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 164 of file AthMessaging.h.

165 {
166  MsgStream* ms = m_msg_tls.get();
167  if (!ms) {
168  if (!m_initialized.test_and_set()) initMessaging();
169  ms = new MsgStream(m_imsg,m_nm);
170  m_msg_tls.reset( ms );
171  }
172 
173  ms->setLevel (m_lvl);
174  return *ms;
175 }

◆ msg() [2/2]

MsgStream & AthMessaging::msg ( const MSG::Level  lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 179 of file AthMessaging.h.

180 { return msg() << lvl; }

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152 {
153  if (!m_initialized.test_and_set()) initMessaging();
154  if (m_lvl <= lvl) {
155  msg() << lvl;
156  return true;
157  } else {
158  return false;
159  }
160 }

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  // Ensure initMessaging was called to avoid that the user
31  // defined message level is being overwritten (ATEAM-1117).
32  if (!m_initialized.test_and_set()) initMessaging();
33  m_lvl = lvl;
34 }

◆ UserSteppingAction()

void G4UA::StepHistogram::UserSteppingAction ( const G4Step *  aStep)
overridevirtual

the hooks for G4 UA handling

Definition at line 39 of file StepHistogram.cxx.

39  {
40 
41  // track
42  G4Track *tr = aStep->GetTrack();
43 
44  // pre-step point
45  G4StepPoint *PreStepPoint = aStep->GetPreStepPoint();
46 
47  // post-step point
48  G4StepPoint *PostStepPoint = aStep->GetPostStepPoint();
49 
50  // pre-step kinetic energy
51  double stepKinetic = PreStepPoint->GetKineticEnergy();
52 
53  // post-step kinetic energy
54  double postStepKinetic = PostStepPoint->GetKineticEnergy();
55 
56  // pre-step position
57  const G4ThreeVector& myPos = PreStepPoint->GetPosition();
58 
59  // particle name
60  G4String particleName = "nucleus";
61  if (!(tr->GetDefinition()->GetParticleType() == "nucleus"))
62  particleName = G4DebuggingHelpers::ClassifyParticle(tr->GetParticleDefinition());
63 
64  // pre-step volume
65  G4String volumeName = PreStepPoint->GetPhysicalVolume()->GetName();
66  volumeName = G4DebuggingHelpers::ClassifyVolume(volumeName);
67 
68  // pre-step material
69  G4String materialName = PreStepPoint->GetMaterial()->GetName();
70  materialName = G4DebuggingHelpers::ClassifyMaterial(materialName);
71 
72  // process name (uses post-step point)
73  G4String processName = PostStepPoint->GetProcessDefinedStep() ?
74  PostStepPoint->GetProcessDefinedStep()->GetProcessName() : "Unknown";
75 
76  // secondaries
77  const std::vector<const G4Track*>* secondaries = aStep->GetSecondaryInCurrentStep();
78 
79  // 2D map
81  float DepositedE = aStep->GetTotalEnergyDeposit();
83  2000, -20000, 20000, 1000, 0, 5000, myPos.getZ(), myPos.perp(), 1.);
85  2000, -20000, 20000, 1000, 0, 5000, myPos.getZ(), myPos.perp(), 1.);
87  2000, -20000, 20000, 1000, 0, 5000, myPos.getZ(), myPos.perp(), 1.);
89  2000, -20000, 20000, 1000, 0, 5000, myPos.getZ(), myPos.perp(), DepositedE);
91  2000, -20000, 20000, 1000, 0, 5000, myPos.getZ(), myPos.perp(), DepositedE);
92  }
93 
94  // step length
96  1000, -12, 4, std::log10(aStep->GetStepLength()), 1.);
98  1000, -12, 4, std::log10(aStep->GetStepLength()), 1.);
100  1000, -12, 4, std::log10(aStep->GetStepLength()), 1.);
101 
102  // step pseudorapidity
104  200, -10, 10, myPos.eta(), 1.);
105  InitializeFillHistogram(m_report.histoMapMap_mat_stepPseudorapidity, "mat_stepPseudorapidity", particleName, materialName,
106  200, -10, 10, myPos.eta(), 1.);
108  200, -10, 10, myPos.eta(), 1.);
109 
110  // step kinetic energy
112  1000, -9, 7, std::log10(stepKinetic), 1.);
113  InitializeFillHistogram(m_report.histoMapMap_mat_stepKineticEnergy, "mat_stepKineticEnergy", particleName, materialName,
114  1000, -9, 7, std::log10(stepKinetic), 1.);
116  1000, -9, 7, std::log10(stepKinetic), 1.);
117  InitializeFillHistogram(m_report.histoMapMap_stepKinetic, "stepKineticEnergy", particleName, "AllATLAS",
118  1000, -9, 7, std::log10(stepKinetic), 1.);
119 
120  // post step kinetic energy
122  1000, -9, 7, std::log10(postStepKinetic), 1.);
123  InitializeFillHistogram(m_report.histoMapMap_mat_postStepKineticEnergy, "mat_postStepKineticEnergy", particleName, materialName,
124  1000, -9, 7, std::log10(postStepKinetic), 1.);
125  InitializeFillHistogram(m_report.histoMapMap_prc_postStepKineticEnergy, "prc_postStepKineticEnergy", particleName, processName,
126  1000, -9, 7, std::log10(postStepKinetic), 1.);
127  InitializeFillHistogram(m_report.histoMapMap_postStepKinetic, "postStepKineticEnergy", particleName, "AllATLAS",
128  1000, -9, 7, std::log10(postStepKinetic), 1.);
129 
130  // step energy deposit
132  1000, -11, 3, std::log10(aStep->GetTotalEnergyDeposit()), 1.);
133  InitializeFillHistogram(m_report.histoMapMap_mat_stepEnergyDeposit, "mat_stepEnergyDeposit", particleName, materialName,
134  1000, -11, 3, std::log10(aStep->GetTotalEnergyDeposit()), 1.);
136  1000, -11, 3, std::log10(aStep->GetTotalEnergyDeposit()), 1.);
137 
138  // step non-ionizing energy deposit
139  InitializeFillHistogram(m_report.histoMapMap_vol_stepEnergyNonIonDeposit, "vol_stepEnergyNonIonDeposit", particleName, volumeName,
140  1000, -11, 1, std::log10(aStep->GetNonIonizingEnergyDeposit()), 1.);
141  InitializeFillHistogram(m_report.histoMapMap_mat_stepEnergyNonIonDeposit, "mat_stepEnergyNonIonDeposit", particleName, materialName,
142  1000, -11, 1, std::log10(aStep->GetNonIonizingEnergyDeposit()), 1.);
143  InitializeFillHistogram(m_report.histoMapMap_prc_stepEnergyNonIonDeposit, "prc_stepEnergyNonIonDeposit", particleName, processName,
144  1000, -11, 1, std::log10(aStep->GetNonIonizingEnergyDeposit()), 1.);
145 
146  // secondary kinetic energy
147  for (const auto &track : *secondaries) {
148  G4String secondary_particleName = G4DebuggingHelpers::ClassifyParticle(track->GetParticleDefinition());
149  InitializeFillHistogram(m_report.histoMapMap_vol_stepSecondaryKinetic, "vol_stepSecondaryKinetic", secondary_particleName, volumeName,
150  1000, -7, 5, std::log10(track->GetKineticEnergy()), 1.);
151  InitializeFillHistogram(m_report.histoMapMap_mat_stepSecondaryKinetic, "mat_stepSecondaryKinetic", secondary_particleName, materialName,
152  1000, -7, 5, std::log10(track->GetKineticEnergy()), 1.);
153  InitializeFillHistogram(m_report.histoMapMap_prc_stepSecondaryKinetic, "prc_stepSecondaryKinetic", secondary_particleName, processName,
154  1000, -7, 5, std::log10(track->GetKineticEnergy()), 1.);
155  }
156 
157  // stop here if 'general' histograms not activated
158  // _______________________________________________
160  return;
161 
162  // first step (after initial step)
163  if (tr->GetCurrentStepNumber()==1) {
164  // initial kinetic energy
165  m_initialKineticEnergyOfStep = stepKinetic;
166 
167  // initial volume/material/processes
168  m_initialVolume = std::move(volumeName);
169  m_initialMaterial = std::move(materialName);
170  m_initialProcess = std::move(processName);
171 
172  // save track ID for checking if we later have the same track
173  m_trackID = tr->GetTrackID();
174 
175  // initial energy
177  1000, -9, 7, std::log10(m_initialKineticEnergyOfStep), 1.0);
179  1000, -9, 7, std::log10(m_initialKineticEnergyOfStep), 1.0);
181  1000, -9, 7, std::log10(m_initialKineticEnergyOfStep), 1.0);
183  1000, -9, 7, std::log10(m_initialKineticEnergyOfStep), 1.0);
184  }
185 
186  // last step
187  if ( tr->GetTrackStatus() == 2 ) {
188  // assert to check if we have the correct track
189  if (not (tr->GetTrackID() == m_trackID)) {
190  ATH_MSG_ERROR("Track ID changed between the assumed first step and the last.");
191  throw std::exception();
192  }
193  // number of steps
194  int nSteps = tr->GetCurrentStepNumber() + 1;
196  10000, 0.5, 10000.5, nSteps, 1.);
198  10000, 0.5, 10000.5, nSteps, 1.);
200  10000, 0.5, 10000.5, nSteps, 1.);
202  10000, 0.5, 10000.5, nSteps, 1.);
203  // number of steps vs initial energy
205  1000, -9, 7, std::log10(m_initialKineticEnergyOfStep), nSteps);
207  1000, -9, 7, std::log10(m_initialKineticEnergyOfStep), nSteps);
209  1000, -9, 7, std::log10(m_initialKineticEnergyOfStep), nSteps);
211  1000, -9, 7, std::log10(m_initialKineticEnergyOfStep), nSteps);
212  // track length vs initial energy
214  1000, -9, 7, std::log10(tr->GetTrackLength()), 1.);
216  1000, -9, 7, std::log10(tr->GetTrackLength()), 1.);
218  1000, -9, 7, std::log10(tr->GetTrackLength()), 1.);
220  1000, -9, 7, std::log10(tr->GetTrackLength()), 1.);
221  }
222  }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_config

Config G4UA::StepHistogram::m_config
private

configuration data

Definition at line 123 of file StepHistogram.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_initialKineticEnergyOfStep

float G4UA::StepHistogram::m_initialKineticEnergyOfStep
private

Definition at line 140 of file StepHistogram.h.

◆ m_initialMaterial

G4String G4UA::StepHistogram::m_initialMaterial
private

Definition at line 142 of file StepHistogram.h.

◆ m_initialProcess

G4String G4UA::StepHistogram::m_initialProcess
private

Definition at line 143 of file StepHistogram.h.

◆ m_initialVolume

G4String G4UA::StepHistogram::m_initialVolume
private

Definition at line 141 of file StepHistogram.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_report

Report G4UA::StepHistogram::m_report
private

Definition at line 120 of file StepHistogram.h.

◆ m_trackID

int G4UA::StepHistogram::m_trackID = 0
private

Definition at line 144 of file StepHistogram.h.


The documentation for this class was generated from the following files:
G4UA::StepHistogram::Report::histoMapMap_mat_stepSize
HistoMapMap_t histoMapMap_mat_stepSize
Definition: StepHistogram.h:59
G4UA::StepHistogram::Report::histoMapMap_mat_stepKineticEnergy
HistoMapMap_t histoMapMap_mat_stepKineticEnergy
Definition: StepHistogram.h:60
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
G4UA::StepHistogram::HistoMap_t
std::map< G4String, TH1 * > HistoMap_t
Definition: StepHistogram.h:39
G4UA::StepHistogram::Report::histoMapMap_prc_numberOfStepsPerInitialE
HistoMapMap_t histoMapMap_prc_numberOfStepsPerInitialE
Definition: StepHistogram.h:80
ymin
double ymin
Definition: listroot.cxx:63
G4UA::StepHistogram::Report::histoMapMap_trackLengthPerInitialE
HistoMapMap_t histoMapMap_trackLengthPerInitialE
Definition: StepHistogram.h:87
G4UA::StepHistogram::Report::histoMapMap_prc_numberOfSteps
HistoMapMap_t histoMapMap_prc_numberOfSteps
Definition: StepHistogram.h:79
hotSpotInTAG.suffix
string suffix
Definition: hotSpotInTAG.py:185
G4DebuggingHelpers::ClassifyParticle
const G4String ClassifyParticle(const G4ParticleDefinition *def)
Definition: G4DebuggingHelper.cxx:24
G4UA::StepHistogram::m_initialMaterial
G4String m_initialMaterial
Definition: StepHistogram.h:142
G4DebuggingHelpers::ClassifyVolume
const G4String ClassifyVolume(const G4String &nom)
Definition: G4DebuggingHelper.cxx:74
G4UA::StepHistogram::m_config
Config m_config
configuration data
Definition: StepHistogram.h:123
G4UA::StepHistogram::Report::histoMapMap_mat_numberOfSteps
HistoMapMap_t histoMapMap_mat_numberOfSteps
Definition: StepHistogram.h:66
G4UA::StepHistogram::Report::histoMapMap_mat_stepEnergyDeposit
HistoMapMap_t histoMapMap_mat_stepEnergyDeposit
Definition: StepHistogram.h:63
G4UA::StepHistogram::Report::histoMapMap_stepKinetic
HistoMapMap_t histoMapMap_stepKinetic
Definition: StepHistogram.h:89
G4UA::StepHistogram::Config::do2DHistograms
bool do2DHistograms
Definition: StepHistogram.h:109
athena.value
value
Definition: athena.py:124
G4UA::StepHistogram::Report::histoMapMap_mat_numberOfStepsPerInitialE
HistoMapMap_t histoMapMap_mat_numberOfStepsPerInitialE
Definition: StepHistogram.h:67
G4UA::StepHistogram::Report::histoMapMap_vol_InitialE
HistoMapMap_t histoMapMap_vol_InitialE
Definition: StepHistogram.h:56
G4UA::StepHistogram::m_trackID
int m_trackID
Definition: StepHistogram.h:144
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
G4UA::StepHistogram::Report::histoMapMap_vol_postStepKineticEnergy
HistoMapMap_t histoMapMap_vol_postStepKineticEnergy
Definition: StepHistogram.h:48
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
G4UA::StepHistogram::Report::histoMapMap_prc_trackLengthPerInitialE
HistoMapMap_t histoMapMap_prc_trackLengthPerInitialE
Definition: StepHistogram.h:81
G4UA::StepHistogram::Report::histoMapMap_vol_stepKineticEnergy
HistoMapMap_t histoMapMap_vol_stepKineticEnergy
Definition: StepHistogram.h:47
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
G4UA::StepHistogram::Report::histoMapMap_prc_stepEnergyDeposit
HistoMapMap_t histoMapMap_prc_stepEnergyDeposit
Definition: StepHistogram.h:76
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:190
G4UA::StepHistogram::Report::histoMapMap_vol_numberOfStepsPerInitialE
HistoMapMap_t histoMapMap_vol_numberOfStepsPerInitialE
Definition: StepHistogram.h:54
SCT_CalibAlgs::nbins
@ nbins
Definition: SCT_CalibNumbers.h:10
G4UA::StepHistogram::Report::histoMapMap_prc_postStepKineticEnergy
HistoMapMap_t histoMapMap_prc_postStepKineticEnergy
Definition: StepHistogram.h:74
AthMessaging::AthMessaging
AthMessaging()
Default constructor:
G4UA::StepHistogram::Report::histoMapMap_vol_stepSecondaryKinetic
HistoMapMap_t histoMapMap_vol_stepSecondaryKinetic
Definition: StepHistogram.h:52
G4UA::StepHistogram::Report::histoMapMap_vol_stepEnergyDeposit
HistoMapMap_t histoMapMap_vol_stepEnergyDeposit
Definition: StepHistogram.h:50
G4StepHelper::particleName
std::string particleName(const G4Step *theStep)
TODO.
Definition: StepHelper.cxx:24
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
G4UA::StepHistogram::Report::histoMapMap_vol_stepPseudorapidity
HistoMapMap_t histoMapMap_vol_stepPseudorapidity
Definition: StepHistogram.h:49
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
G4UA::StepHistogram::Report::histoMapMap_mat_InitialE
HistoMapMap_t histoMapMap_mat_InitialE
Definition: StepHistogram.h:69
xmin
double xmin
Definition: listroot.cxx:60
calibdata.exception
exception
Definition: calibdata.py:495
G4UA::StepHistogram::Report::histoMapMap_mat_trackLengthPerInitialE
HistoMapMap_t histoMapMap_mat_trackLengthPerInitialE
Definition: StepHistogram.h:68
G4UA::StepHistogram::Report::histoMapMap_postStepKinetic
HistoMapMap_t histoMapMap_postStepKinetic
Definition: StepHistogram.h:90
checkCorrelInHIST.nSteps
int nSteps
Definition: checkCorrelInHIST.py:458
G4UA::StepHistogram::Report::histoMapMap2D_mat_RZ
HistoMapMap_t histoMapMap2D_mat_RZ
Definition: StepHistogram.h:94
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
G4UA::StepHistogram::Report::histoMapMap_vol_trackLengthPerInitialE
HistoMapMap_t histoMapMap_vol_trackLengthPerInitialE
Definition: StepHistogram.h:55
G4UA::StepHistogram::Report::histoMapMap2D_mat_RZ_E
HistoMapMap_t histoMapMap2D_mat_RZ_E
Definition: StepHistogram.h:97
G4UA::StepHistogram::Report::histoMapMap_prc_stepSecondaryKinetic
HistoMapMap_t histoMapMap_prc_stepSecondaryKinetic
Definition: StepHistogram.h:78
G4UA::StepHistogram::Report::histoMapMap_vol_stepEnergyNonIonDeposit
HistoMapMap_t histoMapMap_vol_stepEnergyNonIonDeposit
Definition: StepHistogram.h:51
G4UA::StepHistogram::Report::histoMapMap_mat_stepPseudorapidity
HistoMapMap_t histoMapMap_mat_stepPseudorapidity
Definition: StepHistogram.h:62
G4UA::StepHistogram::Report::histoMapMap_prc_stepSize
HistoMapMap_t histoMapMap_prc_stepSize
Definition: StepHistogram.h:72
G4UA::StepHistogram::Report::histoMapMap_numberOfStepsPerInitialE
HistoMapMap_t histoMapMap_numberOfStepsPerInitialE
Definition: StepHistogram.h:86
G4UA::StepHistogram::Report::histoMapMap_prc_InitialE
HistoMapMap_t histoMapMap_prc_InitialE
Definition: StepHistogram.h:82
G4UA::StepHistogram::Report::histoMapMap_prc_stepKineticEnergy
HistoMapMap_t histoMapMap_prc_stepKineticEnergy
Definition: StepHistogram.h:73
G4UA::StepHistogram::Report::histoMapMap_vol_numberOfSteps
HistoMapMap_t histoMapMap_vol_numberOfSteps
Definition: StepHistogram.h:53
G4UA::StepHistogram::InitializeFillHistogram2D
void InitializeFillHistogram2D(HistoMapMap_t &hMapMap, const char *suffix, const G4String &pdgId, const G4String &vol, int nbinsx, double xmin, double xmax, int nbinsy, double ymin, double ymax, double valuex, double valuey, double weight)
Definition: StepHistogram.cxx:224
G4DebuggingHelpers::ClassifyMaterial
const G4String ClassifyMaterial(const G4String &nom)
Definition: G4DebuggingHelper.cxx:40
python.Constants.INFO
int INFO
Definition: Control/AthenaCommon/python/Constants.py:15
G4UA::StepHistogram::Config::doGeneralHistograms
bool doGeneralHistograms
Definition: StepHistogram.h:110
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
xmax
double xmax
Definition: listroot.cxx:61
G4UA::StepHistogram::m_initialVolume
G4String m_initialVolume
Definition: StepHistogram.h:141
G4UA::StepHistogram::Report::histoMapMap_numberOfSteps
HistoMapMap_t histoMapMap_numberOfSteps
Definition: StepHistogram.h:85
G4UA::StepHistogram::Report::histoMapMap2D_vol_RZ_E
HistoMapMap_t histoMapMap2D_vol_RZ_E
Definition: StepHistogram.h:96
G4UA::StepHistogram::m_report
Report m_report
Definition: StepHistogram.h:120
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
G4UA::StepHistogram::Report::histoMapMap2D_prc_RZ
HistoMapMap_t histoMapMap2D_prc_RZ
Definition: StepHistogram.h:95
xAOD::track
@ track
Definition: TrackingPrimitives.h:513
G4UA::StepHistogram::Report::histoMapMap_vol_stepSize
HistoMapMap_t histoMapMap_vol_stepSize
Definition: StepHistogram.h:46
AthMessaging::initMessaging
void initMessaging() const
Initialize our message level and MessageSvc.
Definition: AthMessaging.cxx:42
G4UA::StepHistogram::InitializeFillHistogram
void InitializeFillHistogram(HistoMapMap_t &hMapMap, const char *suffix, const G4String &pdgId, const G4String &vol, int nbins, double xmin, double xmax, double value, double weight)
Definition: StepHistogram.cxx:241
AthMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
Definition: AthMessaging.h:132
G4UA::StepHistogram::Report::histoMapMap_InitialE
HistoMapMap_t histoMapMap_InitialE
Definition: StepHistogram.h:88
G4UA::StepHistogram::Report::histoMapMap2D_vol_RZ
HistoMapMap_t histoMapMap2D_vol_RZ
Definition: StepHistogram.h:93
G4UA::StepHistogram::m_initialKineticEnergyOfStep
float m_initialKineticEnergyOfStep
Definition: StepHistogram.h:140
G4UA::StepHistogram::Report::histoMapMap_mat_stepEnergyNonIonDeposit
HistoMapMap_t histoMapMap_mat_stepEnergyNonIonDeposit
Definition: StepHistogram.h:64
G4UA::StepHistogram::Report::histoMapMap_prc_stepEnergyNonIonDeposit
HistoMapMap_t histoMapMap_prc_stepEnergyNonIonDeposit
Definition: StepHistogram.h:77
ymax
double ymax
Definition: listroot.cxx:64
G4UA::StepHistogram::m_initialProcess
G4String m_initialProcess
Definition: StepHistogram.h:143
G4UA::StepHistogram::Report::histoMapMap_prc_stepPseudorapidity
HistoMapMap_t histoMapMap_prc_stepPseudorapidity
Definition: StepHistogram.h:75
G4UA::StepHistogram::Report::histoMapMap_mat_stepSecondaryKinetic
HistoMapMap_t histoMapMap_mat_stepSecondaryKinetic
Definition: StepHistogram.h:65
G4UA::StepHistogram::Report::histoMapMap_mat_postStepKineticEnergy
HistoMapMap_t histoMapMap_mat_postStepKineticEnergy
Definition: StepHistogram.h:61
python.SystemOfUnits.ms
float ms
Definition: SystemOfUnits.py:148