ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_RDOAnalysis.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef TRT_RDO_ANALYSIS_H
7#define TRT_RDO_ANALYSIS_H
8
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ITHistSvc.h"
13
19
20#include <string>
21#include <vector>
22#include "TH1.h"
23
24class TTree;
25class TH1;
26class TRT_ID;
27class TRT_RDORawData;
28
30
31public:
32 TRT_RDOAnalysis(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
43
44 // NTUPLE BRANCHES
45 // RDO
46 std::vector<unsigned long long>* m_rdoID;
47 std::vector<unsigned int>* m_rdoWord;
48 // TRT_ID
54 // TRT_RDORawData
61 // SDO
62 std::vector<unsigned long long>* m_sdoID;
64 // TRT_ID
70 // TRT_SimHelper
75 std::vector<bool>* m_hit;
76 // Deposit - particle link + energy (charge)
83
84 // HISTOGRAMS
92 TH1* m_h_ToT;
96 // barrel TRT
105 // endcap TRT
114 // SDO
125
126 TTree* m_tree;
130 std::string m_path;
132
133};
134
135#endif // TRT_RDO_ANALYSIS_H
Property holding a SG store/key/clid from which a ReadHandle is made.
This is an Identifier helper class for the TRT subdetector.
InDetRawDataContainer< InDetRawDataCollection< TRT_RDORawData > > TRT_RDO_Container
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82
std::vector< unsigned long long > * m_sdoID
std::vector< int > * m_strawLayer
std::vector< bool > * m_RODdata
virtual StatusCode finalize() override final
std::string m_ntupleFileName
std::string m_ntupleTreeName
std::vector< bool > * m_aboveThresh
std::vector< bool > * m_highLevel
std::vector< int > * m_phiModule_sdo
std::string m_ntupleDirName
std::vector< int > * m_sdoWord
const TRT_ID * m_trtID
std::vector< unsigned long long > * m_rdoID
SG::ReadHandleKey< InDetSimDataCollection > m_inputTruthKey
std::vector< std::vector< int > > * m_eventIndex_vec
SG::ReadHandleKey< TRT_RDO_Container > m_inputKey
std::vector< std::vector< float > > * m_charge_vec
std::vector< bool > * m_hit
std::vector< int > * m_driftTimeBin
std::vector< int > * m_barrelEndcap
std::vector< double > * m_timeOverThreshold
std::vector< int > * m_eventIndex
std::vector< int > * m_straw_sdo
std::vector< bool > * m_deadChan
std::vector< bool > * m_validStraw
std::vector< std::vector< int > > * m_barcode_vec
std::vector< int > * m_straw
std::vector< unsigned int > * m_rdoWord
std::vector< int > * m_barrelEndcap_sdo
std::vector< int > * m_barcode
std::vector< int > * m_phiModule
std::vector< int > * m_strawLayer_sdo
TRT_RDOAnalysis(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< int > * m_layerWheel
virtual StatusCode execute() override final
ServiceHandle< ITHistSvc > m_thistSvc
std::vector< int > * m_layerWheel_sdo
std::vector< float > * m_charge
std::vector< bool > * m_firstBin
std::vector< int > * m_trailEdge
virtual StatusCode initialize() override final
std::vector< bool > * m_lastBin
Forward declaration.
STL namespace.
#define private