ATLAS Offline Software
LArAutoCorrAlgToDB.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LArAutoCorrAlgToDB_H
6 #define LArAutoCorrAlgToDB_H
7 /********************************************************************
8 
9  NAME: LArAutoCorrAlgToDB.h
10 
11 ********************************************************************/
12 
13 // Include files
15 #include "GaudiKernel/ToolHandle.h"
16 #include "StoreGate/StoreGateSvc.h"
21 
22 //-----------------------------------------------------------------------
24 //-----------------------------------------------------------------------
25 {
26  public:
27 
28  // Constructor
29  LArAutoCorrAlgToDB(const std::string & name, ISvcLocator * pSvcLocator);
30 
31  // Destructor
33 
34  // Algorithm initialization
36 
37  StatusCode execute(){return StatusCode::SUCCESS;};
38 
39  // Algorithm stop
40  StatusCode stop();
41 
42  private:
44 
45  bool m_isSC;
46 
47  SG::ReadCondHandleKey<LArAutoCorrTotal> m_autocorrKey{this,"LArAutoCorrTotal","LArPhysAutoCorr","Key for total autocorr on Conditions store"};
48 
49  // Grouping type
50  std::string m_groupingType;
51 
52  // key
53  std::string m_acContName;
54 
55  // number of gains
56  unsigned int m_nGains = 0U;
57 
58  float m_nMinbias=20.0;
59 };
60 
61 #endif
62 
LArAutoCorrAlgToDB::stop
StatusCode stop()
Definition: LArAutoCorrAlgToDB.cxx:71
LArAutoCorrAlgToDB::initialize
StatusCode initialize()
Definition: LArAutoCorrAlgToDB.cxx:37
LArAutoCorrAlgToDB::LArAutoCorrAlgToDB
LArAutoCorrAlgToDB(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArAutoCorrAlgToDB.cxx:22
LArAutoCorrAlgToDB::execute
StatusCode execute()
Definition: LArAutoCorrAlgToDB.h:41
LArAutoCorrAlgToDB
Definition: LArAutoCorrAlgToDB.h:25
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
LArAutoCorrAlgToDB::m_nGains
unsigned int m_nGains
Definition: LArAutoCorrAlgToDB.h:60
LArAutoCorrAlgToDB::~LArAutoCorrAlgToDB
~LArAutoCorrAlgToDB()
ReadCondHandleKey.h
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition: LArOnlineID_Base.h:105
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArAutoCorrTotal.h
LArAutoCorrAlgToDB::m_onlineHelper
const LArOnlineID_Base * m_onlineHelper
Definition: LArAutoCorrAlgToDB.h:47
LArAutoCorrAlgToDB::m_autocorrKey
SG::ReadCondHandleKey< LArAutoCorrTotal > m_autocorrKey
Definition: LArAutoCorrAlgToDB.h:51
SG::ReadCondHandleKey< LArAutoCorrTotal >
LArAutoCorrAlgToDB::m_nMinbias
float m_nMinbias
Definition: LArAutoCorrAlgToDB.h:62
LArOnline_SuperCellID.h
LArAutoCorrAlgToDB::m_isSC
bool m_isSC
Definition: LArAutoCorrAlgToDB.h:49
StoreGateSvc.h
LArAutoCorrAlgToDB::m_groupingType
std::string m_groupingType
Definition: LArAutoCorrAlgToDB.h:54
LArOnlineID.h
LArAutoCorrAlgToDB::m_acContName
std::string m_acContName
Definition: LArAutoCorrAlgToDB.h:57