ATLAS Offline Software
RIO_OnTrackErrorScalingDbOverrideCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef _RIO_OnTrackErrorScalingDbOverrideCondAlg_H_
6 #define _RIO_OnTrackErrorScalingDbOverrideCondAlg_H_
7 
9 
14 #include "GaudiKernel/ICondSvc.h"
15 #include "Gaudi/Property.h"
16 #include <iostream>
17 
19 
21 {
22  public:
23  RIO_OnTrackErrorScalingDbOverrideCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
25  StatusCode initialize() override;
26  StatusCode execute() override;
27  StatusCode finalize() override;
28 
29  private:
30 
31  Gaudi::Property< std::vector<unsigned int> > m_nParameterPerSet
32  {this,"PrametersPerSet",{},"The number of parameters per set. If a single number is supplied this will be applied to all sets."};
33 
34  Gaudi::Property< std::vector<float> > m_errorScalingParameters
35  {this,"ErorScalingParameters",{},"The error scaling parameters for all sets lumbed together."};
36 
37  Gaudi::Property< std::string > m_errorScalingTypeName
38  {this,"ErrorScalingTypeName","","The specific type name of the error scaling conditions data that should be produced."};
39 
41  {this, "WriteKey","","The key for the produced error scaling conditions data."};
42 
45  std::vector<unsigned int> m_useNParametersPerSet;
46 };
47 
48 #endif // SCT_CONDITIONSPARAMETERCONDALG
RIO_OnTrackErrorScalingDbOverrideCondAlg::m_errorScalingTypeName
Gaudi::Property< std::string > m_errorScalingTypeName
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.h:38
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
RIO_OnTrackErrorScalingDbOverrideCondAlg::m_errorScalingDataKit
const RIO_OnTrackErrorScalingKit * m_errorScalingDataKit
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.h:44
RIO_OnTrackErrorScalingDbOverrideCondAlg::m_nParameterPerSet
Gaudi::Property< std::vector< unsigned int > > m_nParameterPerSet
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.h:32
RIO_OnTrackErrorScalingDbOverrideCondAlg
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.h:21
RIO_OnTrackErrorScalingDbOverrideCondAlg::initialize
StatusCode initialize() override
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.cxx:16
WriteCondHandleKey.h
RIO_OnTrackErrorScaling.h
AthAlgorithm.h
RIO_OnTrackErrorScalingDbOverrideCondAlg::m_useNParametersPerSet
std::vector< unsigned int > m_useNParametersPerSet
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.h:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
RIO_OnTrackErrorScalingDbOverrideCondAlg::m_writeKey
SG::WriteCondHandleKey< RIO_OnTrackErrorScaling > m_writeKey
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.h:41
RIO_OnTrackErrorScalingDbOverrideCondAlg::m_condSvc
ServiceHandle< ICondSvc > m_condSvc
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.h:43
RIO_OnTrackErrorScalingDbOverrideCondAlg::~RIO_OnTrackErrorScalingDbOverrideCondAlg
virtual ~RIO_OnTrackErrorScalingDbOverrideCondAlg()=default
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
RIO_OnTrackErrorScalingKit
Definition: RIO_OnTrackErrorScalingKit.h:12
RIO_OnTrackErrorScalingDbOverrideCondAlg::execute
StatusCode execute() override
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.cxx:93
RIO_OnTrackErrorScalingDbOverrideCondAlg::m_errorScalingParameters
Gaudi::Property< std::vector< float > > m_errorScalingParameters
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.h:35
RIO_OnTrackErrorScalingDbOverrideCondAlg::RIO_OnTrackErrorScalingDbOverrideCondAlg
RIO_OnTrackErrorScalingDbOverrideCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.cxx:10
SG::WriteCondHandleKey< RIO_OnTrackErrorScaling >
RIO_OnTrackErrorScalingDbOverrideCondAlg::finalize
StatusCode finalize() override
Definition: RIO_OnTrackErrorScalingDbOverrideCondAlg.cxx:140
ServiceHandle< ICondSvc >