|
ATLAS Offline Software
|
Go to the documentation of this file.
15 m_padDelayedTime(NULL),
17 m_padGlobalCornerX(NULL),
18 m_padGlobalCornerY(NULL),
19 m_padGlobalCornerZ(NULL),
20 m_padTruthHitGlobalX(NULL),
21 m_padTruthHitGlobalY(NULL),
22 m_padTruthHitGlobalZ(NULL),
23 m_padEtaIdFromOfflineId(NULL),
24 m_padPhiIdFromOfflineId(NULL),
25 m_padSectorIdFromOfflineId(NULL),
26 m_padSectorTypeFromOfflineId(NULL),
27 m_padGasGapIdFromOfflineId(NULL),
28 m_padModuleIdFromOfflineId(NULL),
29 m_padMultipletIdFromOfflineId(NULL),
30 m_padSideIdFromOfflineId(NULL),
31 m_offlineIdPadEtaConverted(NULL),
32 m_offlineIdPadPhiConverted(NULL),
33 m_padEtaIdFromOldSimu(NULL),
34 m_padPhiIdFromOldSimu(NULL)
147 for(
auto corner :
pos) {
176 if((bc_tag >> 15) == 1) {
177 bc_hr = (
int) ((~bc_tag)*(-1)) - (
int) bc_max - 1;
179 bc_hr = (
int) bc_tag;
std::vector< float > * m_padGlobalX
global position X of the PAD hit
std::vector< float > * m_padTruthHitGlobalY
global position Y of the truth hit associated to the PAD hit
std::vector< int > * m_padPhiIdFromOfflineId
PAD phi Id from the offline Id.
std::vector< float > * m_padGlobalZ
global position Z of the PAD hit
bool reset_ntuple_variables()
clear all vectors of internal containers
std::vector< int > * m_padEtaIdFromOfflineId
PAD eta Id from the offline Id.
std::vector< int > * m_padBCHR
human readable BC info of the PAD
int moduleId() const
get the physics module (ranging from 1 at lowest R to 3 at highest R)
void fill_num_pad_hits(size_t num) const
store the number of hits for one pad
std::vector< int > * m_offlineIdPadPhiConverted
PAD phi Id from the offline Id that were converted.
std::vector< float > * m_padGlobalCornerZ
global position Z of the PAD hit corner
int sectorType() const
get the sector type (ranging from 0 to 1, Small and Large)
std::vector< int > * m_padGasGapIdFromOfflineId
PAD gas gap Id from the offline Id.
std::vector< int > * m_nPadHits
number of PAD hit delivered
std::vector< float > * m_padGlobalCornerY
global position Y of the PAD hit corner
int padEtaId() const
get the pad eta channel
void fill_matched_old_id_new_id(const std::pair< int, int > &old_id, std::pair< int, int > &new_id) const
std::vector< int > * m_padSectorTypeFromOfflineId
PAD sector type from the offline Id.
bool init_tree(TTree *tree)
initialize the output containers and the tree
class modeling the pad hit fragment for the NSW L1 offline simulation
void fill_hit_global_pos(const Amg::Vector3D &pos) const
store global position of a hit
std::vector< int > * m_offlineIdPadEtaConverted
PAD eta Id from the offline Id that were converted.
std::vector< int > * m_padEtaIdFromOldSimu
PAD eta Id from the standalone simulation code.
std::vector< float > * m_padGlobalY
global position Y of the PAD hit
std::vector< int > * m_padSectorIdFromOfflineId
PAD sector Id from the offline Id.
std::vector< float > * m_padGlobalCornerX
global position X of the PAD hit corner
int padPhiId() const
get the pad phi channel
int sideId() const
helper methods decoding the hit fragment position within the NSW detector
int multipletId() const
get the multiplet (ranging from 1 to 2, 1 is at lowest |z|)
std::vector< int > * m_padModuleIdFromOfflineId
PAD module Id from the offline Id.
void fill_offlineid_info(const PadOfflineData &o, float bin_offset) const
store eta,phi indices + sector,layer
Eigen::Matrix< double, 3, 1 > Vector3D
std::vector< int > * m_padPhiIdFromOldSimu
PAD phi Id from the standalone simulation code.
void fill_truth_hit_global_pos(const Amg::Vector3D &pos) const
store global position of a truth-matched hit
float time() const
get the arrival time after the delay is applied
std::vector< float > * m_padDelayedTime
delayed time of the PAD hit
TTree * m_tree
ntuple for analysis
int gasGapId() const
get the gas gap (ranging from 1 to 4, 1 is at lowest |z|)
int sectorId() const
get the sector (ranging from 1 to 8)
uint16_t BC_Tag() const
get the BCID
A trigger trigger candidate for a stgc sector.
void fill_hit_global_corner_pos(const std::vector< Amg::Vector3D > &pos) const
store global position of a hit
std::vector< int > * m_padSideIdFromOfflineId
PAD side Id from the offline Id.
std::vector< float > * m_padTruthHitGlobalZ
global position Z of the truth hit associated to the PAD hit
std::vector< float > * m_padTruthHitGlobalX
global position X of the truth hit associated to the PAD hit
std::vector< int > * m_padMultipletIdFromOfflineId
PAD multilayer Id from the offline Id.