ATLAS Offline Software
PixelNtupleMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DERIVATIONFRAMEWORK_PIXELNTUPLEMAKER_H
6 #define DERIVATIONFRAMEWORK_PIXELNTUPLEMAKER_H
7 
8 
9 #include <string>
10 
14 
18 
20 
24 
25 #include "Gaudi/Property.h"
26 
27 namespace DerivationFramework {
28 
30  public:
31  PixelNtupleMaker(const std::string& t, const std::string& n, const IInterface* p);
32 
34 
37  virtual StatusCode addBranches() const;
38  static void GetLayerEtaPhiFromId(uint64_t id,int *barrelEC, int *layer, int *eta, int *phi);
39 
40  private:
41  Gaudi::Property<int> m_storeMode
42  {this, "StoreMode", 1, "Storing mode: 1:full, 2:small, 3:Z->tautau"};
43 
44  ToolHandle<InDet::IInDetTrackSelectionTool> m_selector
45  {this, "TrackSelectionTool","InDet::InDetTrackSelectionTool/TrackSelectionTool"}; // @TODO should not have a default value, since there is not generally correct default
46 
48  { this, "ContainerName", "InDetTrackParticles", "" };
50  { this, "MeasurementValidationKey","PixelClusters", ""};
51 
53  { this, "PixelMonitoringTracksKey", "PixelMonitoringTrack","" };
54 
55  typedef std::vector<ElementLink< xAOD::TrackStateValidationContainer > > MeasurementsOnTrack;
56  typedef std::vector<ElementLink< xAOD::TrackStateValidationContainer > >::const_iterator MeasurementsOnTrackIter;
57  };
58 }
59 
60 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IAugmentationTool.h
DerivationFramework::PixelNtupleMaker
Definition: PixelNtupleMaker.h:29
TrigDecisionTool.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::PixelNtupleMaker::m_selector
ToolHandle< InDet::IInDetTrackSelectionTool > m_selector
Definition: PixelNtupleMaker.h:45
SG::ReadHandleKey< xAOD::TrackParticleContainer >
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::PixelNtupleMaker::~PixelNtupleMaker
~PixelNtupleMaker()
DerivationFramework::PixelNtupleMaker::PixelNtupleMaker
PixelNtupleMaker(const std::string &t, const std::string &n, const IInterface *p)
Definition: PixelNtupleMaker.cxx:18
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
SG::WriteHandleKey< xAOD::TrackParticleContainer >
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::PixelNtupleMaker::MeasurementsOnTrackIter
std::vector< ElementLink< xAOD::TrackStateValidationContainer > >::const_iterator MeasurementsOnTrackIter
Definition: PixelNtupleMaker.h:56
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
AthAlgTool.h
DerivationFramework::PixelNtupleMaker::MeasurementsOnTrack
std::vector< ElementLink< xAOD::TrackStateValidationContainer > > MeasurementsOnTrack
Definition: PixelNtupleMaker.h:55
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::PixelNtupleMaker::m_storeMode
Gaudi::Property< int > m_storeMode
Definition: PixelNtupleMaker.h:42
IInDetTrackSelectionTool.h
DerivationFramework::PixelNtupleMaker::finalize
StatusCode finalize()
Definition: PixelNtupleMaker.cxx:34
DerivationFramework::PixelNtupleMaker::m_containerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_containerKey
Definition: PixelNtupleMaker.h:48
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrackStateValidationContainer.h
DerivationFramework::PixelNtupleMaker::m_monitoringTracks
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_monitoringTracks
Definition: PixelNtupleMaker.h:53
DerivationFramework::PixelNtupleMaker::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: PixelNtupleMaker.cxx:39
DerivationFramework::PixelNtupleMaker::m_measurementContainerKey
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurementContainerKey
Definition: PixelNtupleMaker.h:50
TrackMeasurementValidationContainer.h
DerivationFramework::PixelNtupleMaker::GetLayerEtaPhiFromId
static void GetLayerEtaPhiFromId(uint64_t id, int *barrelEC, int *layer, int *eta, int *phi)
Definition: PixelNtupleMaker.cxx:799
DerivationFramework::PixelNtupleMaker::initialize
StatusCode initialize()
Definition: PixelNtupleMaker.cxx:26
AthAlgTool
Definition: AthAlgTool.h:26
TrackParticleContainer.h