|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INDETPHYSVALMONITORING_INDETPHYSVALMONITORINGTOOL_H
6 #define INDETPHYSVALMONITORING_INDETPHYSVALMONITORINGTOOL_H
30 #include "GaudiKernel/ToolHandle.h"
85 const std::vector<const xAOD::TruthParticle *>
getTruthParticles(
const EventContext& ctx)
const;
86 std::pair<const std::vector<const xAOD::TruthVertex*>,
const std::vector<const xAOD::TruthVertex*>>
getTruthVertices(
const EventContext& ctx)
const;
99 const std::vector<const xAOD::TruthParticle*>& truthParticles,
102 float beamSpotWeight);
133 {
this,
"TrackParticleContainerName",
"InDetTrackParticles"};
137 {
this,
"TruthParticleContainerName",
"TruthParticles",
""};
141 {
this,
"VertexContainerName",
"PrimaryVertices",
""};
145 {
this,
"TruthVertexContainerName",
"TruthVertices",
""};
149 {
this,
"EventInfoContainerName",
"EventInfo",
""};
152 {
this,
"TruthEvents",
"TruthEvents",
"Name of the truth events container probably either TruthEvent or TruthEvents"};
155 {
this,
"TruthPileupEvents",
"TruthPileupEvents",
"Name of the truth pileup events container probably TruthPileupEvent(s)"};
158 {
this,
"JetContainerName",
"AntiKt4LCTopoJets" ,
""};
163 std::vector<SG::ReadDecorHandleKey<xAOD::TrackParticleContainer> >
m_intTrkDecor;
173 BooleanProperty
m_useTrackSelection {
this,
"useTrackSelection",
false,
"plot only tracks accepted by selection tool"};
174 BooleanProperty
m_doTruthOriginPlots {
this,
"doTruthOriginPlots",
false,
"do plots split by track truth origin"};
175 BooleanProperty
m_doDuplicatePlots {
this,
"doDuplicatePlots",
false,
"Fill duplicate=multi-track per particle plots"};
176 BooleanProperty
m_doPerAuthorPlots {
this,
"doPerAuthorPlots",
false,
"do plots split by track author"};
178 BooleanProperty
m_doHitLevelPlots {
this,
"doHitLevelPlots",
false,
"Fill hit efficiency and residual plots"};
179 BooleanProperty
m_doBjetPlots {
this,
"FillTrackInBJetPlots",
false,
"Fill plots for tracks in truth-b-tagged jets"};
180 BooleanProperty
m_fillTruthToRecoNtuple {
this,
"FillTruthToRecoNtuple",
false,
"Fill an ntuple with truth and matching reco info for more detailed stuidies"};
182 BooleanProperty
m_onlyFillMatched {
this,
"onlyFillTruthMatched",
false,
"Only fill truth-to-reco (eff, reso, matched hit) plots"};
184 BooleanProperty
m_useGRL {
this,
"useGRL",
false,
"Apply GRL selection or not when running on data"};
185 BooleanProperty
m_doIDTIDEPlots{
this,
"doIDTIDEPlots",
false,
"do ID TIDE derivation plots"};
186 BooleanProperty
m_fillTechnicalEfficiency{
this,
"fillTechnicalEfficiency",
false,
"Fill the technical efficiency plot. Requires additional sihit information in input file"};
187 BooleanProperty
m_doPRW{
this,
"doPRW",
false,
"apply pileup reweight"};
189 FloatProperty
m_maxTrkJetDR{
this,
"maxTrkJetDR",0.4,
"the maximum dR to jets to allow for track-in-jet plots"};
190 StringProperty
m_dirName {
this,
"DirName",
"SquirrelPlots/",
"Top level directory to write histograms into"};
191 StringProperty
m_folder {
this,
"SubFolder",
"",
"Subfolder to add for plots if desired. Used when working with multiple IDPVM tool instances."};
192 StringProperty
m_pileupSwitch {
this,
"PileupSwitch",
"HardScatter",
"Pileup truth strategy to use. May be \"All\", \"HardScatter\", or \"PileUp\""};
193 FloatProperty
m_lowProb{
this,
"LowProb",0.5,
"Truth match prob. cutoff for efficiency (lower bound) and fake (upper bound) classification."};
194 FloatProperty
m_highProb{
this,
"HighProb",0.8,
"Truth match prob. cutoff - currently unused"};
196 IntegerArrayProperty
m_minHits{
this,
"MinNumberClusters", {}};
198 FloatProperty
m_jetAbsEtaMin{
this,
"JetAbsEtaMin", 0.f,
"Minimum Eta value for jet selection"};
199 FloatProperty
m_jetAbsEtaMax{
this,
"JetAbsEtaMax", 2.5f,
"Maximum Eta value for jet selection"};
200 FloatProperty
m_jetPtMin{
this,
"JetPtMin", 100.0f,
"Minimum Jet pT for jet selection in GeV"};
201 FloatProperty
m_jetPtMax{
this,
"JetPtMax", 5000.0f,
"Maximum Jet pT for jet selection in GeV"};
203 BooleanProperty
m_isITk{
this,
"isITk",
false,
"Whether config is set for ITk, to enable/disable some plots"};
205 ToolHandle<InDet::IInDetTrackSelectionTool>
m_trackSelectionTool{
this,
"TrackSelectionTool",
"InDet::InDetTrackSelectionTool/TrackSelectionTool",
"Track selection tool to use"};
206 ToolHandle<IInDetVertexTruthMatchTool>
m_vtxValidTool{
this,
"VertexTruthMatchTool",
"InDetVertexTruthMatchTool/VtxTruthMatchTool",
"Vertex truth matching tool to use"};
207 ToolHandle<IAthSelectionTool>
m_truthSelectionTool{
this,
"TruthSelectionTool",
"AthTruthSelectionTool",
"Truth selection tool (for efficiencies and resolutions)"};
208 ToolHandle<InDet::IInDetTrackTruthOriginTool>
m_trackTruthOriginTool{
this,
"trackTruthOriginTool",
"InDet::InDetTrackTruthOriginTool",
"truth track origin tool"};
209 ToolHandle<InDet::IInDetHardScatterSelectionTool>
m_hardScatterSelectionTool{
this,
"hardScatterSelectionTool",
"InDet::InDetHardScatterSelectionTool",
"tool to select the hard scatter reco vertex"};
210 ToolHandle<IGoodRunsListSelectionTool>
m_grlTool{
this,
"GoodRunsListSelectionTool",
"GoodRunsListSelectionTool/GoodRunsListSelectionTool",
"GRL selection tool"};
Class to retrieve associated truth from a track, implementing a cached response.
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
Helper class to provide type-safe access to aux data.
StatusCode accept(const xAOD::Muon *mu)
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Helper class to provide type-safe access to aux data.
::StatusCode StatusCode
StatusCode definition for legacy code.
helper struct - steer the configuration from the parent tool's side
Class describing a truth particle in the MC record.
Class describing a Vertex.
class holding all plots for Inner Detector RTT Validation and implementing fill methods
Class describing a TrackParticle.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Define macros for attributes used to control the static checker.