ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetMonitoring
SCT_Monitoring
src
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
10
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
11
12
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
13
#include "
StoreGate/ReadCondHandleKey.h
"
14
#include "
StoreGate/ReadHandleKey.h
"
15
#include "
BeamSpotConditionsData/BeamSpotData.h
"
16
#include "
TrkTrack/TrackCollection.h
"
17
#include "
TrkToolInterfaces/ITrackHoleSearchTool.h
"
18
#include "
TrkToolInterfaces/ITrackSummaryTool.h
"
19
#include "
TrkToolInterfaces/IPRDtoTrackMapTool.h
"
20
21
22
class
SCT_ID
;
23
24
class
SCTLorentzMonAlg
:
public
AthMonitorAlgorithm
{
25
public
:
26
SCTLorentzMonAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
27
virtual
~SCTLorentzMonAlg
() =
default
;
28
virtual
StatusCode
initialize
() override final;
29
virtual StatusCode
fillHistograms
(
const
EventContext& ctx)
const
override final;
30
31
private
:
32
enum
SiliconSurface
{
surface100
,
surface111
,
nSurfaces
};
33
enum
Sides
{
side0
,
side1
,
nSides
};
34
35
bool
m_hasBeamCondSvc
=
false
;
36
37
const
SCT_ID
*
m_pSCTHelper
{
nullptr
};
38
39
ToolHandle<Trk::ITrackSummaryTool>
m_trackSummaryTool
{
this
,
"TrackSummaryTool"
,
"InDetTrackSummaryTool"
};
40
ToolHandle<Trk::IPRDtoTrackMapTool>
m_assoTool
{
this
,
"AssociationTool"
,
"InDet::InDetPRDtoTrackMapToolGangedPixels"
};
41
ToolHandle<Trk::ITrackHoleSearchTool>
m_holeSearchTool
{
this
,
"HoleSearch"
,
"InDet::InDetTrackHoleSearchTool"
};
42
43
SG::ReadCondHandleKey<InDet::BeamSpotData>
m_beamSpotKey
{
this
,
"BeamSpotKey"
,
"BeamSpotData"
,
"SG key for beam spot"
};
44
46
SG::ReadHandleKey<TrackCollection>
m_tracksName
{
this
,
"tracksName"
,
"CombinedInDetTracks"
};
47
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection>
m_SCTDetEleCollKey
{
this
,
"SCTDetEleCollKey"
,
"SCT_DetectorElementCollection"
,
"Key of SiDetectorElementCollection for SCT"
};
48
49
BooleanProperty
m_rejectSharedHits
{
this
,
"RejectSharedHits"
,
false
};
50
51
int
findAnglesToWaferSurface(
const
float
(&
vec
)[3],
52
const
float
& sinAlpha,
53
const
Identifier
&
id
,
54
const
InDetDD::SiDetectorElementCollection
* elements,
55
float
&
theta
,
56
float
&
phi
)
const
;
57
};
58
59
#endif
// SCTLORENTZMONALG_H
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
theta
Scalar theta() const
theta method
Definition
AmgMatrixBasePlugin.h:75
AthMonitorAlgorithm.h
BeamSpotData.h
vec
std::vector< size_t > vec
Definition
CombinationsGeneratorTest.cxx:9
IPRDtoTrackMapTool.h
ITrackHoleSearchTool.h
ReadCondHandleKey.h
SiDetectorElementCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrackCollection.h
ITrackSummaryTool.h
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
InDetDD::SiDetectorElementCollection
Class to hold the SiDetectorElement objects to be put in the detector store.
Definition
SiDetectorElementCollection.h:27
SCTLorentzMonAlg::m_trackSummaryTool
ToolHandle< Trk::ITrackSummaryTool > m_trackSummaryTool
Definition
SCTLorentzMonAlg.h:39
SCTLorentzMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override final
adds event to the monitoring histograms
Definition
SCTLorentzMonAlg.cxx:46
SCTLorentzMonAlg::m_pSCTHelper
const SCT_ID * m_pSCTHelper
Definition
SCTLorentzMonAlg.h:37
SCTLorentzMonAlg::m_hasBeamCondSvc
bool m_hasBeamCondSvc
Definition
SCTLorentzMonAlg.h:35
SCTLorentzMonAlg::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Definition
SCTLorentzMonAlg.h:47
SCTLorentzMonAlg::m_holeSearchTool
ToolHandle< Trk::ITrackHoleSearchTool > m_holeSearchTool
Definition
SCTLorentzMonAlg.h:41
SCTLorentzMonAlg::m_rejectSharedHits
BooleanProperty m_rejectSharedHits
Definition
SCTLorentzMonAlg.h:49
SCTLorentzMonAlg::m_tracksName
SG::ReadHandleKey< TrackCollection > m_tracksName
Name of the Track collection to use.
Definition
SCTLorentzMonAlg.h:46
SCTLorentzMonAlg::SiliconSurface
SiliconSurface
Definition
SCTLorentzMonAlg.h:32
SCTLorentzMonAlg::surface100
@ surface100
Definition
SCTLorentzMonAlg.h:32
SCTLorentzMonAlg::nSurfaces
@ nSurfaces
Definition
SCTLorentzMonAlg.h:32
SCTLorentzMonAlg::surface111
@ surface111
Definition
SCTLorentzMonAlg.h:32
SCTLorentzMonAlg::Sides
Sides
Definition
SCTLorentzMonAlg.h:33
SCTLorentzMonAlg::nSides
@ nSides
Definition
SCTLorentzMonAlg.h:33
SCTLorentzMonAlg::side0
@ side0
Definition
SCTLorentzMonAlg.h:33
SCTLorentzMonAlg::side1
@ side1
Definition
SCTLorentzMonAlg.h:33
SCTLorentzMonAlg::m_assoTool
ToolHandle< Trk::IPRDtoTrackMapTool > m_assoTool
Definition
SCTLorentzMonAlg.h:40
SCTLorentzMonAlg::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition
SCTLorentzMonAlg.h:43
SCTLorentzMonAlg::~SCTLorentzMonAlg
virtual ~SCTLorentzMonAlg()=default
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
const
Identifier
Definition
IdentifierFieldParser.cxx:14
SCTLorentzMonAlg
Definition
SCTLorentzMonAlg.py:1
initialize
void initialize()
Definition
run_EoverP.cxx:894
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0