Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Outputs cluster moments (and other assorted properties) to text files.
More...
#include <CaloMomentsDumper.h>
|
Gaudi::Property< std::string > | m_savePath {this, "SavePath", "./cluster_dump", "Path to where the files should be saved"} |
| The path specifying the folder to which the files should be saved. More...
|
|
Gaudi::Property< std::string > | m_filePrefix {this, "FilePrefix", "", "Prefix of the saved files"} |
| The prefix of the saved files. More...
|
|
Gaudi::Property< std::string > | m_fileSuffix {this, "FileSuffix", "", "Suffix of the saved files"} |
| The suffix of the saved files. More...
|
|
Gaudi::Property< unsigned int > | m_numWidth {this, "NumberWidth", 9, "The number of digits to reserve for the events"} |
| The number of digits to reserve for the events. More...
|
|
Outputs cluster moments (and other assorted properties) to text files.
- Author
- Nuno Fernandes nuno..nosp@m.dos..nosp@m.santo.nosp@m.s.fe.nosp@m.rnand.nosp@m.es@c.nosp@m.ern.c.nosp@m.h
- Date
- 05 March 2023
Definition at line 24 of file CaloMomentsDumper.h.
◆ ~CaloMomentsDumper()
virtual CaloMomentsDumper::~CaloMomentsDumper |
( |
| ) |
|
|
virtualdefault |
◆ execute() [1/3]
Definition at line 16 of file CaloMomentsDumper.cxx.
22 return StatusCode::FAILURE;
30 for (
auto cluster_iter = cluster_collection->
begin(); cluster_iter != cluster_collection->
end(); ++cluster_iter)
36 ATH_MSG_ERROR(
"Can't get valid links to CaloCells (CaloClusterCellLink)!");
37 return StatusCode::FAILURE;
41 out_file <<
"------------------------------------------------\n";
43 for (
int i = 0;
i < 28; ++
i)
51 out_file <<
"------------------------------------------------\n";
53 out_file <<
"------------------------------------------------\n";
136 out_file <<
"\n------------------------------------------------\n";
137 out_file <<
"------------------------------------------------\n";
145 return StatusCode::SUCCESS;
◆ execute() [2/3]
virtual StatusCode CaloClusterCollectionProcessor::execute |
Execute on an entire collection of clusters.
- Parameters
-
collection | The container of clusters. param ctx The event context. |
◆ execute() [3/3]
virtual StatusCode CaloClusterCollectionProcessor::execute |
|
inlinefinal |
Execute on an entire collection of clusters.
- Parameters
-
collection | The container of clusters. (deprecated) |
Definition at line 50 of file CaloClusterCollectionProcessor.h.
52 return execute (Gaudi::Hive::currentContext(), collection);
◆ m_filePrefix
Gaudi::Property<std::string> CaloMomentsDumper::m_filePrefix {this, "FilePrefix", "", "Prefix of the saved files"} |
|
private |
The prefix of the saved files.
Empty string by default.
Definition at line 49 of file CaloMomentsDumper.h.
◆ m_fileSuffix
Gaudi::Property<std::string> CaloMomentsDumper::m_fileSuffix {this, "FileSuffix", "", "Suffix of the saved files"} |
|
private |
The suffix of the saved files.
Empty string by default.
Definition at line 54 of file CaloMomentsDumper.h.
◆ m_numWidth
Gaudi::Property<unsigned int> CaloMomentsDumper::m_numWidth {this, "NumberWidth", 9, "The number of digits to reserve for the events"} |
|
private |
The number of digits to reserve for the events.
9 by default.
Definition at line 59 of file CaloMomentsDumper.h.
◆ m_savePath
Gaudi::Property<std::string> CaloMomentsDumper::m_savePath {this, "SavePath", "./cluster_dump", "Path to where the files should be saved"} |
|
private |
The path specifying the folder to which the files should be saved.
Default
./saved_clusters
Definition at line 44 of file CaloMomentsDumper.h.
The documentation for this class was generated from the following files:
@ CENTER_MAG
Cluster Centroid ( )
@ SECOND_R
Second Moment in .
static std::string build_filename(const std::string &prefix, const std::string &text, const std::string &suffix, const std::string &ext)
@ ENG_CALIB_DEAD_UNCLASS
Attached Calibration Hit energy in dead material in unclassified areas of the detector.
@ FIRST_PHI
First Moment in .
Gaudi::Property< unsigned int > m_numWidth
The number of digits to reserve for the events.
@ OOC_WEIGHT
Out-of-cluster weight (E_ooc/E_w)
@ ENG_FRAC_CORE
Energy fraction of the sum of the hottest cells in each sampling.
path
python interpreter configuration --------------------------------------—
@ VERTEX_FRACTION
Vertex fraction of this cluster wrt.
@ MASS
cell based mass i.e. the mass of the 4-vector sum of all massless positive energetic cells
@ EM_PROBABILITY
Classification probability to be em-like.
@ CENTER_X
Cluster Centroid ( )
@ ENG_BAD_HV_CELLS
Total em-scale energy of cells with bad HV in this cluster.
@ ENG_CALIB_DEAD_LEAKAGE
Attached Calibration Hit energy in dead material behind calorimeters.
@ ETA2CALOFRAME
Eta of sampling 2 in the calo frame (for egamma)
@ AVG_LAR_Q
Sum(E_cell_LAr^2 Q_cell_LAr)/Sum(E_cell_LAr^2)
@ ETA1CALOFRAME
Eta of sampling 1 in the calo frame (for egamma)
@ ENG_CALIB_TILEG3
Calibration Hit energy inside the cluster scintillator.
@ ENG_CALIB_DEAD_T
Attached Calibration Hit energy in dead material with tight matching (Angle < 0.3).
@ ENG_CALIB_OUT_M
Attached Calibration Hit energy outside clusters but inside the calorimeter with medium matching (Ang...
@ CENTER_LAMBDA
Shower depth at Cluster Centroid.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *cluster_collection) const override
Gaudi::Property< std::string > m_savePath
The path specifying the folder to which the files should be saved.
@ ENG_CALIB_EMB0
Calibration Hit energy inside the cluster barrel presampler.
@ ENG_CALIB_DEAD_TILE0
Attached Calibration Hit energy in dead material between EMB3 and TILE0.
@ ENG_FRAC_MAX
Energy fraction of hottest cell.
@ PHI1CALOFRAME
Phi of sampling 1 in the calo frame (for egamma)
@ SECOND_LAMBDA
Second Moment in .
@ PTD
relative spread of pT of constiuent cells = sqrt(n)*RMS/Mean
@ CENTER_Z
Cluster Centroid ( )
Bookkeeping of cells that make up a cluster Simplified replacement for CaloCellLink,...
@ SECOND_ENG_DENS
Second Moment in E/V.
Description of a calorimeter cluster.
@ DM_WEIGHT
Dead-material weight (E_dm/E_ooc)
@ HAD_WEIGHT
Hadronic weight (E_w/E_em)
Gaudi::Property< std::string > m_filePrefix
The prefix of the saved files.
@ CELL_SIG_SAMPLING
CaloSample of the cell with the largest |E|/sig.
@ ENG_CALIB_TOT
Calibration Hit energy inside the cluster.
@ ENG_CALIB_FRAC_EM
Calibration Hit energy inside the cluster caused by e/gamma/pi0.
@ ISOLATION
Energy weighted fraction of non-clustered perimeter cells.
@ ENG_CALIB_FRAC_REST
Calibration Hit energy inside the cluster caused by other particles.
@ DELTA_PHI
Angular shower axis deviation ( ) from IP-to-Center.
@ ENG_CALIB_DEAD_FCAL
Attached Calibration Hit energy in dead material before FCAL, between FCAL and HEC.
@ FIRST_ENG_DENS
First Moment in E/V.
@ ENG_BAD_CELLS
Total em-scale energy of bad cells in this cluster.
@ TILE_CONFIDENCE_LEVEL
Confidence Level of a tile calorimeter cluster to be noise.
@ ENG_CALIB_EME0
Calibration Hit energy inside the cluster endcap presampler.
@ ENG_FRAC_EM
Energy fraction in EM calorimeters.
static ErrorState prepare_folder_for_output(const std::filesystem::path &folder, const bool output_errors=true)
@ ENG_CALIB_DEAD_M
Attached Calibration Hit energy in dead material with medium matching (Angle < 0.5).
@ ENG_CALIB_DEAD_HEC0
Attached Calibration Hit energy in dead material between EME3 and HEC0.
@ AVG_TILE_Q
Sum(E_cell_Tile^2 Q_cell_Tile)/Sum(E_cell_Tile^2)
@ PHICALOFRAME
Phi in the calo frame (for egamma)
@ ENG_CALIB_DEAD_TILEG3
Attached Calibration Hit energy in dead material before scintillator.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
@ FIRST_ETA
First Moment in .
@ DELTA_THETA
Angular shower axis deviation ( ) from IP-to-Center.
@ ENG_CALIB_DEAD_TOT
Attached Calibration Hit energy in dead material.
@ SIGNIFICANCE
Cluster significance.
@ PHI2CALOFRAME
Phi of sampling 2 in the calo frame (for egamma)
Gaudi::Property< std::string > m_fileSuffix
The suffix of the saved files.
@ N_BAD_HV_CELLS
number of cells with bad HV
@ ENG_CALIB_DEAD_L
Attached Calibration Hit energy in dead material with loose matching (Angle < 1.0).
@ LATERAL
Normalized lateral moment.
@ SECOND_TIME
Second moment of cell time distribution in cluster.
@ DELTA_ALPHA
Angular shower axis deviation ( ) from IP-to-Center.
@ ENG_CALIB_FRAC_HAD
Calibration Hit energy inside the cluster caused by charged pi+ and pi-.
@ CELL_SIGNIFICANCE
Cell significance = E/sig of the cell with the largest |E|/sig.
@ ENG_CALIB_OUT_L
Attached Calibration Hit energy outside clusters but inside the calorimeter with loose matching (Angl...
@ ENG_CALIB_DEAD_EME0
Attached Calibration Hit energy in dead material before EME0, between EME0 and EME1.
@ ENG_CALIB_OUT_T
Attached Calibration Hit energy outside clusters but inside the calorimeter with tight matching (Angl...
@ BAD_CELLS_CORR_E
Energy of bad cells with energy density average correction applied.
@ ETACALOFRAME
Eta in the calo frame (for egamma)
@ N_BAD_CELLS_CORR
Number of bad cells with energy density average correction applied.
@ LONGITUDINAL
Normalized longitudinal moment.
@ NVERTEX_FRACTION
slightly updated vertex fraction more pile up independent (similar to nJVF)
@ N_BAD_CELLS
number of bad cells
@ CENTER_Y
Cluster Centroid ( )
@ ENG_CALIB_DEAD_EMB0
Attached Calibration Hit energy in dead material before EMB0, between EMB0 and EMB1.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
@ ENG_POS
Total positive Energy of this cluster.
@ BADLARQ_FRAC
Energy fraction of LAr cells with quality larger than a given cut.