ATLAS Offline Software
Loading...
Searching...
No Matches
SCTLorentzMonAlg.h
Go to the documentation of this file.
1// -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef SCTLORENTZMONALG_H
8#define SCTLORENTZMONALG_H
9
11
18
19
20class SCT_ID;
21
23 public:
24 SCTLorentzMonAlg(const std::string& name, ISvcLocator* pSvcLocator);
25 virtual ~SCTLorentzMonAlg() = default;
26 virtual StatusCode initialize() override final;
27 virtual StatusCode fillHistograms(const EventContext& ctx) const override final;
28
29 private:
31 enum Sides { side0, side1, nSides };
32
33 const SCT_ID* m_pSCTHelper{nullptr};
34
35 ToolHandle<Trk::ITrackSummaryTool> m_trackSummaryTool{this, "TrackSummaryTool", "InDetTrackSummaryTool"};
36 ToolHandle<Trk::IPRDtoTrackMapTool> m_assoTool{this, "AssociationTool", "InDet::InDetPRDtoTrackMapToolGangedPixels" };
37
39 SG::ReadHandleKey<TrackCollection> m_tracksName{this, "tracksName", "CombinedInDetTracks"};
40 SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_SCTDetEleCollKey{this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"};
41
42 BooleanProperty m_rejectSharedHits{this, "RejectSharedHits", false};
43
44 int findAnglesToWaferSurface(const float (&vec)[3],
45 const float& sinAlpha,
46 const Identifier& id,
48 float& theta,
49 float& phi) const;
50};
51
52#endif // SCTLORENTZMONALG_H
Scalar phi() const
phi method
Scalar theta() const
theta method
std::vector< size_t > vec
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Class to hold the SiDetectorElement objects to be put in the detector store.
ToolHandle< Trk::ITrackSummaryTool > m_trackSummaryTool
virtual StatusCode fillHistograms(const EventContext &ctx) const override final
adds event to the monitoring histograms
const SCT_ID * m_pSCTHelper
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
BooleanProperty m_rejectSharedHits
SG::ReadHandleKey< TrackCollection > m_tracksName
Name of the Track collection to use.
ToolHandle< Trk::IPRDtoTrackMapTool > m_assoTool
virtual ~SCTLorentzMonAlg()=default
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Property holding a SG store/key/clid from which a ReadHandle is made.
void initialize()
#define private