 |
ATLAS Offline Software
|
Go to the documentation of this file.
3 #ifndef FPGATrackSimLayerStudyTool_H
4 #define FPGATrackSimLayerStudyTool_H
24 #include "GaudiKernel/ServiceHandle.h"
25 #include "GaudiKernel/ITHistSvc.h"
80 Gaudi::Property<std::string>
m_dir{
this,
"dir", {
"/GENSCAN/"},
"String name of output directory"};
81 Gaudi::Property<double>
m_phiScale{
this,
"phiScale", {},
"Scale for Delta Phi variable"};
82 Gaudi::Property<double>
m_etaScale{
this,
"etaScale", {},
"Scale for Delta Eta variable"};
83 Gaudi::Property<double>
m_drScale{
this,
"drScale", {},
"Scale for radius differences"};
84 Gaudi::Property<bool>
m_plotAllBins{
this,
"plotAllBins", {
false},
"Default is to plot only truth bin values, this set to plot all bins"};
86 Gaudi::Property<double>
m_d0pad{
this,
"D0Pad", 0.0,
"Extra phi padding from d0 resolution"};
87 Gaudi::Property<double>
m_phipad{
this,
"PhiPad", 0.0,
"Extra phi padding from phi resolution"};
88 Gaudi::Property<double>
m_qptpad{
this,
"QPtPad", 0.0,
"Extra phi padding from q/pT resolution"};
89 Gaudi::Property<double>
m_z0pad{
this,
"Z0Pad", 0.0,
"Extra eta padding from z0 resolution"};
90 Gaudi::Property<double>
m_etapad{
this,
"EtaPad", 0.0,
"Extra eta padding from eta resolution"};
91 Gaudi::Property<std::string>
m_layerStudyTreeName{
this,
"LayerStudyTreeName",
"LayerStudy",
"Name of the LayerStudy TTree"};
92 Gaudi::Property<std::string>
m_truthTreeName{
this,
"TruthTreeName",
"TruthTree",
"Name of the Truth TTree"};
188 template <
typename HistType,
typename... HistDef>
191 ptr =
new HistType(histargs...);
193 return StatusCode::SUCCESS;
197 template <
typename HistType,
typename... HistDef>
201 for (
unsigned i = 0;
i < len;
i++) {
203 std::string
name = std::string(namebase);
207 if (namevec->size()==len) {
208 name += (*namevec)[
i];
210 return StatusCode::FAILURE;
217 return StatusCode::SUCCESS;
225 #endif // FPGATrackSimLayerStudyTool_H
char data[hepevt_bytes_allocation_ATLAS]
std::vector< size_t > vec
std::string to_string(const SectorProjector proj)
Binning Classes for GenScanTool.
::StatusCode StatusCode
StatusCode definition for legacy code.
Binning Utilities for GenScanTool.
: FPGATrackSim-specific class to represent an hit in the detector.
Structs that store the 5 track parameters.