ATLAS Offline Software
Loading...
Searching...
No Matches
PixelRDOAnalysis.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef PIXEL_RDO_ANALYSIS_H
7#define PIXEL_RDO_ANALYSIS_H
8
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ITHistSvc.h"
13
20
21#include <string>
22#include <vector>
23#include "TH1.h"
24
25class TTree;
26class PixelID;
27class PixelRDORawData;
28
30
31public:
32 PixelRDOAnalysis(const std::string& name, ISvcLocator* pSvcLocator);
34
35 virtual StatusCode initialize() override final;
36 virtual StatusCode execute() override final;
37 virtual StatusCode finalize() override final;
38
44 // RDO
45 std::vector<unsigned long long>* m_rdoID;
46 std::vector<unsigned int>* m_rdoWord;
47 // PixelID
54 // PixelRDORawData
59
60 // SDO
61 std::vector<unsigned long long>* m_sdoID;
63 // PixelID
70 // PixelSimHelper
75 // Deposit
82
83 // HISTOGRAMS
92 TH1* m_h_ToT;
96 // barrel pixel
106 // endcap pixel
116
117 TH1* m_h_sdoID = nullptr;
118 TH1* m_h_sdoWord = nullptr;
119 TH1* m_h_barrelEndcap_sdo = nullptr;
120 TH1* m_h_layerDisk_sdo = nullptr;
121 TH1* m_h_phiModule_sdo = nullptr;
122 TH1* m_h_etaModule_sdo = nullptr;
123 TH1* m_h_phiIndex_sdo = nullptr;
124 TH1* m_h_etaIndex_sdo = nullptr;
125 TH1* m_h_barcode = nullptr;
126 TH1* m_h_eventIndex = nullptr;
127 TH1* m_h_charge = nullptr;
129
130 TTree* m_tree;
134 std::string m_path;
136};
137
138#endif // PIXEL_RDO_ANALYSIS_H
This is an Identifier helper class for the Pixel subdetector.
InDetRawDataContainer< InDetRawDataCollection< PixelRDORawData > > PixelRDO_Container
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
std::vector< int > * m_etaModule
ServiceHandle< ITHistSvc > m_thistSvc
std::vector< int > * m_phiModule
PixelRDOAnalysis(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< int > * m_phiIndex
std::vector< int > * m_phiModule_sdo
std::string m_ntupleFileName
std::vector< int > * m_barrelEndcap_sdo
std::vector< bool > * m_belowThresh
std::vector< int > * m_layerDisk_sdo
std::vector< int > * m_etaIndex
std::vector< int > * m_BCID
const PixelID * m_pixelID
std::vector< int > * m_barrelEndcap
SG::ReadHandleKey< PixelRDO_Container > m_inputKey
virtual StatusCode execute() override final
std::vector< int > * m_etaModule_sdo
std::vector< int > * m_LVL1A
std::vector< int > * m_phiIndex_sdo
std::vector< std::vector< int > > * m_eventIndex_vec
std::vector< int > * m_barcode
std::vector< int > * m_etaIndex_sdo
std::vector< int > * m_charge
std::vector< int > * m_sdoWord
std::vector< unsigned long long > * m_rdoID
std::vector< unsigned long long > * m_sdoID
std::vector< unsigned int > * m_rdoWord
virtual StatusCode initialize() override final
std::vector< int > * m_ToT
std::string m_ntupleTreeName
SG::ReadHandleKey< McEventCollection > m_inputMcEventCollectionKey
std::string m_ntupleDirName
std::vector< std::vector< int > > * m_barcode_vec
virtual StatusCode finalize() override final
std::vector< int > * m_eventIndex
SG::ReadHandleKey< InDetSimDataCollection > m_inputTruthKey
std::vector< bool > * m_noise
std::vector< std::vector< float > > * m_charge_vec
std::vector< bool > * m_badTOT
std::vector< int > * m_LVL1ID
std::vector< bool > * m_disabled
std::vector< int > * m_layerDisk
Forward declaration.
STL namespace.
#define private