ATLAS Offline Software
Loading...
Searching...
No Matches
ConstitTimeCutTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JETRECTOOLS_CONSTITTIMECUTTOOL_H
6#define JETRECTOOLS_CONSTITTIMECUTTOOL_H
7
8// \class ConstitTimeCutTool
9// \author Jennifer Roloff
10// \date October 2016
11//
12// This tool places cuts on constituents based on their timing information
13
14
19
22
23#include <string>
24
27
28 public:
29
30 ConstitTimeCutTool(const std::string& name);
31
32 // Check that the configuration is sane
33 StatusCode initialize() override final;
34
35 private:
36 StatusCode process_impl(xAOD::IParticleContainer* cont, const EventContext& ctx) const override final;
37 StatusCode applyTimingCut(xAOD::IParticle* part, const float& time, const float& quality, const float& lambda_center) const;
38
39 // CaloCluster decorations
42 this,
43 "ClusterLarQKey",
44 "AVG_LAR_Q",
45 "AVG_LAR_Q decoration"
46 };
47
50 this,
51 "ClusterLambdaKey",
52 "CENTER_LAMBDA",
53 "CENTER_LAMBDA decoration"
54 };
55
56 // FlowElement decorations
59 this,
60 "FETimingKey",
61 "TIMING",
62 "TIMING decoration"
63 };
64
67 this,
68 "FELarQKey",
69 "AVG_LAR_Q",
70 "AVG_LAR_Q decoration"
71 };
72
75 this,
76 "FELambdaKey",
77 "CENTER_LAMBDA",
78 "CENTER_LAMBDA decoration"
79 };
80
81 // Properties.
86 float m_etaMax;
87
88};
89
90
91#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
SG::ReadDecorHandleKey< xAOD::FlowElementContainer > m_feLarQKey
SG::ReadDecorHandleKey< xAOD::FlowElementContainer > m_feTimingKey
SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > m_clusterLarQKey
ConstitTimeCutTool(const std::string &name)
StatusCode initialize() override final
Dummy implementation of the initialisation function.
StatusCode process_impl(xAOD::IParticleContainer *cont, const EventContext &ctx) const override final
StatusCode applyTimingCut(xAOD::IParticle *part, const float &time, const float &quality, const float &lambda_center) const
SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > m_clusterLambdaKey
SG::ReadDecorHandleKey< xAOD::FlowElementContainer > m_feLambdaKey
JetConstituentModifierBase(const std::string &name)
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Class providing the definition of the 4-vector interface.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.