ATLAS Offline Software
LArCollisionTimeDecorator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // LArCollisionTimeDecorator.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_LARCOLLISIONTIMEDECORATOR_H
10 #define DERIVATIONFRAMEWORK_LARCOLLISIONTIMEDECORATOR_H
11 
12 #include <string>
13 #include <vector>
14 
17 #include "GaudiKernel/ToolHandle.h"
18 #include "GaudiKernel/ServiceHandle.h"
19 #include "AthLinks/ElementLink.h"
20 
23 
27 
28 namespace DerivationFramework {
29 
31  public:
32  LArCollisionTimeDecorator(const std::string& type, const std::string& name, const IInterface* parent);
33 
36  virtual StatusCode addBranches() const;
37 
38  private:
39 
40  Gaudi::Property<std::string> m_sgName
41  { this, "DecorationPrefix", "", ""};
43  { this, "ContainerName", "EventInfo", "" };
45  { this, "LArCollisionTimeKey", "LArCollisionTime", ""};
46 
49 
50  std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo> > m_intDecorKeys;
51  std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo> > m_floatDecorKeys;
52 
53  };
54 }
55 
56 #endif // DERIVATIONFRAMEWORK_LARCOLLISIONTIMEDECORATOR_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::LArCollisionTimeDecorator::kncellC
@ kncellC
Definition: LArCollisionTimeDecorator.h:47
DerivationFramework::LArCollisionTimeDecorator::m_larCollisionTimeKey
SG::ReadHandleKey< LArCollisionTime > m_larCollisionTimeKey
Definition: LArCollisionTimeDecorator.h:45
DerivationFramework::LArCollisionTimeDecorator::kenergyC
@ kenergyC
Definition: LArCollisionTimeDecorator.h:48
DerivationFramework::LArCollisionTimeDecorator::finalize
StatusCode finalize()
Definition: LArCollisionTimeDecorator.cxx:63
DerivationFramework::LArCollisionTimeDecorator::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: LArCollisionTimeDecorator.cxx:68
IAugmentationTool.h
DerivationFramework::LArCollisionTimeDecorator::EFloatDecor
EFloatDecor
Definition: LArCollisionTimeDecorator.h:48
DerivationFramework::LArCollisionTimeDecorator::initialize
StatusCode initialize()
Definition: LArCollisionTimeDecorator.cxx:29
SG::ReadHandleKey< xAOD::EventInfo >
DerivationFramework::LArCollisionTimeDecorator::m_floatDecorKeys
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_floatDecorKeys
Definition: LArCollisionTimeDecorator.h:51
DerivationFramework::LArCollisionTimeDecorator::kNIntDecor
@ kNIntDecor
Definition: LArCollisionTimeDecorator.h:47
DerivationFramework::LArCollisionTimeDecorator::EIntDecor
EIntDecor
Definition: LArCollisionTimeDecorator.h:47
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::LArCollisionTimeDecorator::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: LArCollisionTimeDecorator.h:43
DerivationFramework::LArCollisionTimeDecorator
Definition: LArCollisionTimeDecorator.h:30
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::LArCollisionTimeDecorator::ktimeA
@ ktimeA
Definition: LArCollisionTimeDecorator.h:48
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::LArCollisionTimeDecorator::kenergyA
@ kenergyA
Definition: LArCollisionTimeDecorator.h:48
EventAuxInfo.h
DerivationFramework::LArCollisionTimeDecorator::ktimeC
@ ktimeC
Definition: LArCollisionTimeDecorator.h:48
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
EventInfo.h
DerivationFramework::LArCollisionTimeDecorator::m_intDecorKeys
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_intDecorKeys
Definition: LArCollisionTimeDecorator.h:50
DerivationFramework::LArCollisionTimeDecorator::kNFloatDecor
@ kNFloatDecor
Definition: LArCollisionTimeDecorator.h:48
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
DerivationFramework::LArCollisionTimeDecorator::m_sgName
Gaudi::Property< std::string > m_sgName
Definition: LArCollisionTimeDecorator.h:41
LArCollisionTime.h
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::LArCollisionTimeDecorator::LArCollisionTimeDecorator
LArCollisionTimeDecorator(const std::string &type, const std::string &name, const IInterface *parent)
Definition: LArCollisionTimeDecorator.cxx:21
DerivationFramework::LArCollisionTimeDecorator::kncellA
@ kncellA
Definition: LArCollisionTimeDecorator.h:47