ATLAS Offline Software
|
#include <PadTdsValidationTree.h>
Public Member Functions | |
PadTdsValidationTree () | |
bool | init_tree (TTree *tree) |
initialize the output containers and the tree More... | |
bool | reset_ntuple_variables () |
clear all vectors of internal containers More... | |
void | fill_num_pad_hits (size_t num) const |
store the number of hits for one pad More... | |
void | fill_hit_global_pos (const Amg::Vector3D &pos) const |
store global position of a hit More... | |
void | fill_hit_global_corner_pos (const std::vector< Amg::Vector3D > &pos) const |
store global position of a hit More... | |
void | fill_truth_hit_global_pos (const Amg::Vector3D &pos) const |
store global position of a truth-matched hit More... | |
void | fill_offlineid_info (const PadOfflineData &o, float bin_offset) const |
store eta,phi indices + sector,layer More... | |
void | fill_matched_old_id_new_id (const std::pair< int, int > &old_id, std::pair< int, int > &new_id) const |
Private Attributes | |
std::string | m_treename |
TTree * | m_tree {nullptr} |
ntuple for analysis More... | |
std::vector< int > * | m_nPadHits {nullptr} |
number of PAD hit delivered More... | |
std::vector< float > * | m_padGlobalX {nullptr} |
global position X of the PAD hit More... | |
std::vector< float > * | m_padGlobalY {nullptr} |
global position Y of the PAD hit More... | |
std::vector< float > * | m_padGlobalZ {nullptr} |
global position Z of the PAD hit More... | |
std::vector< float > * | m_padDelayedTime {nullptr} |
delayed time of the PAD hit More... | |
std::vector< int > * | m_padBCHR {nullptr} |
human readable BC info of the PAD More... | |
std::vector< float > * | m_padGlobalCornerX {nullptr} |
global position X of the PAD hit corner More... | |
std::vector< float > * | m_padGlobalCornerY {nullptr} |
global position Y of the PAD hit corner More... | |
std::vector< float > * | m_padGlobalCornerZ {nullptr} |
global position Z of the PAD hit corner More... | |
std::vector< float > * | m_padTruthHitGlobalX {nullptr} |
global position X of the truth hit associated to the PAD hit More... | |
std::vector< float > * | m_padTruthHitGlobalY {nullptr} |
global position Y of the truth hit associated to the PAD hit More... | |
std::vector< float > * | m_padTruthHitGlobalZ {nullptr} |
global position Z of the truth hit associated to the PAD hit More... | |
std::vector< int > * | m_padEtaIdFromOfflineId {nullptr} |
PAD eta Id from the offline Id. More... | |
std::vector< int > * | m_padPhiIdFromOfflineId {nullptr} |
PAD phi Id from the offline Id. More... | |
std::vector< int > * | m_padSectorIdFromOfflineId {nullptr} |
PAD sector Id from the offline Id. More... | |
std::vector< int > * | m_padSectorTypeFromOfflineId {nullptr} |
PAD sector type from the offline Id. More... | |
std::vector< int > * | m_padGasGapIdFromOfflineId {nullptr} |
PAD gas gap Id from the offline Id. More... | |
std::vector< int > * | m_padModuleIdFromOfflineId {nullptr} |
PAD module Id from the offline Id. More... | |
std::vector< int > * | m_padMultipletIdFromOfflineId {nullptr} |
PAD multilayer Id from the offline Id. More... | |
std::vector< int > * | m_padSideIdFromOfflineId {nullptr} |
PAD side Id from the offline Id. More... | |
std::vector< int > * | m_offlineIdPadEtaConverted {nullptr} |
PAD eta Id from the offline Id that were converted. More... | |
std::vector< int > * | m_offlineIdPadPhiConverted {nullptr} |
PAD phi Id from the offline Id that were converted. More... | |
std::vector< int > * | m_padEtaIdFromOldSimu {nullptr} |
PAD eta Id from the standalone simulation code. More... | |
std::vector< int > * | m_padPhiIdFromOldSimu {nullptr} |
PAD phi Id from the standalone simulation code. More... | |
Definition at line 31 of file PadTdsValidationTree.h.
NSWL1::PadTdsValidationTree::PadTdsValidationTree | ( | ) |
Definition at line 9 of file PadTdsValidationTree.cxx.
void NSWL1::PadTdsValidationTree::fill_hit_global_corner_pos | ( | const std::vector< Amg::Vector3D > & | pos | ) | const |
void NSWL1::PadTdsValidationTree::fill_hit_global_pos | ( | const Amg::Vector3D & | pos | ) | const |
void NSWL1::PadTdsValidationTree::fill_matched_old_id_new_id | ( | const std::pair< int, int > & | old_id, |
std::pair< int, int > & | new_id | ||
) | const |
Definition at line 184 of file PadTdsValidationTree.cxx.
void NSWL1::PadTdsValidationTree::fill_num_pad_hits | ( | size_t | num | ) | const |
store the number of hits for one pad
Definition at line 128 of file PadTdsValidationTree.cxx.
void NSWL1::PadTdsValidationTree::fill_offlineid_info | ( | const PadOfflineData & | o, |
float | bin_offset | ||
) | const |
store eta,phi indices + sector,layer
'bin_offset' used to center the bin on the value of the Pad Id. Introduced by Alessandro, it's always 0.0. Do we really need it? (DG-2014-09-30)
Definition at line 161 of file PadTdsValidationTree.cxx.
void NSWL1::PadTdsValidationTree::fill_truth_hit_global_pos | ( | const Amg::Vector3D & | pos | ) | const |
store global position of a truth-matched hit
Definition at line 154 of file PadTdsValidationTree.cxx.
bool NSWL1::PadTdsValidationTree::init_tree | ( | TTree * | tree | ) |
initialize the output containers and the tree
The tree should be provided by the THistSvc from Athena.
Definition at line 38 of file PadTdsValidationTree.cxx.
bool NSWL1::PadTdsValidationTree::reset_ntuple_variables | ( | ) |
|
private |
number of PAD hit delivered
Definition at line 55 of file PadTdsValidationTree.h.
|
private |
PAD eta Id from the offline Id that were converted.
Definition at line 75 of file PadTdsValidationTree.h.
|
private |
PAD phi Id from the offline Id that were converted.
Definition at line 76 of file PadTdsValidationTree.h.
|
private |
human readable BC info of the PAD
Definition at line 60 of file PadTdsValidationTree.h.
|
private |
delayed time of the PAD hit
Definition at line 59 of file PadTdsValidationTree.h.
|
private |
PAD eta Id from the offline Id.
Definition at line 67 of file PadTdsValidationTree.h.
|
private |
PAD eta Id from the standalone simulation code.
Definition at line 77 of file PadTdsValidationTree.h.
|
private |
PAD gas gap Id from the offline Id.
Definition at line 71 of file PadTdsValidationTree.h.
|
private |
global position X of the PAD hit corner
Definition at line 61 of file PadTdsValidationTree.h.
|
private |
global position Y of the PAD hit corner
Definition at line 62 of file PadTdsValidationTree.h.
|
private |
global position Z of the PAD hit corner
Definition at line 63 of file PadTdsValidationTree.h.
|
private |
global position X of the PAD hit
Definition at line 56 of file PadTdsValidationTree.h.
|
private |
global position Y of the PAD hit
Definition at line 57 of file PadTdsValidationTree.h.
|
private |
global position Z of the PAD hit
Definition at line 58 of file PadTdsValidationTree.h.
|
private |
PAD module Id from the offline Id.
Definition at line 72 of file PadTdsValidationTree.h.
|
private |
PAD multilayer Id from the offline Id.
Definition at line 73 of file PadTdsValidationTree.h.
|
private |
PAD phi Id from the offline Id.
Definition at line 68 of file PadTdsValidationTree.h.
|
private |
PAD phi Id from the standalone simulation code.
Definition at line 78 of file PadTdsValidationTree.h.
|
private |
PAD sector Id from the offline Id.
Definition at line 69 of file PadTdsValidationTree.h.
|
private |
PAD sector type from the offline Id.
Definition at line 70 of file PadTdsValidationTree.h.
|
private |
PAD side Id from the offline Id.
Definition at line 74 of file PadTdsValidationTree.h.
|
private |
global position X of the truth hit associated to the PAD hit
Definition at line 64 of file PadTdsValidationTree.h.
|
private |
global position Y of the truth hit associated to the PAD hit
Definition at line 65 of file PadTdsValidationTree.h.
|
private |
global position Z of the truth hit associated to the PAD hit
Definition at line 66 of file PadTdsValidationTree.h.
|
private |
ntuple for analysis
Definition at line 54 of file PadTdsValidationTree.h.
|
private |
Definition at line 53 of file PadTdsValidationTree.h.