ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibUtils
LArCalibUtils
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
14
#include "
AthenaBaseComps/AthAlgorithm.h
"
15
#include "GaudiKernel/ToolHandle.h"
16
#include "
StoreGate/StoreGateSvc.h
"
17
#include "
LArIdentifier/LArOnlineID.h
"
18
#include "
LArIdentifier/LArOnline_SuperCellID.h
"
19
#include "
LArRawConditions/LArAutoCorrTotal.h
"
20
#include "
StoreGate/ReadCondHandleKey.h
"
21
22
//-----------------------------------------------------------------------
23
class
LArAutoCorrAlgToDB
:
public
AthAlgorithm
24
//-----------------------------------------------------------------------
25
{
26
public
:
27
28
// Constructor
29
LArAutoCorrAlgToDB
(
const
std::string & name, ISvcLocator * pSvcLocator);
30
31
// Destructor
32
~LArAutoCorrAlgToDB
();
33
34
// Algorithm initialization
35
StatusCode
initialize
();
36
37
StatusCode
execute
(){
return
StatusCode::SUCCESS;};
38
39
// Algorithm stop
40
StatusCode
stop
();
41
42
private
:
43
const
LArOnlineID_Base
*
m_onlineHelper
;
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
AthAlgorithm.h
LArAutoCorrTotal.h
LArOnlineID.h
LArOnline_SuperCellID.h
ReadCondHandleKey.h
StoreGateSvc.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
AthAlgorithm.cxx:24
LArAutoCorrAlgToDB::m_nMinbias
float m_nMinbias
Definition
LArAutoCorrAlgToDB.h:58
LArAutoCorrAlgToDB::~LArAutoCorrAlgToDB
~LArAutoCorrAlgToDB()
LArAutoCorrAlgToDB::execute
StatusCode execute()
Definition
LArAutoCorrAlgToDB.h:37
LArAutoCorrAlgToDB::m_acContName
std::string m_acContName
Definition
LArAutoCorrAlgToDB.h:53
LArAutoCorrAlgToDB::LArAutoCorrAlgToDB
LArAutoCorrAlgToDB(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArAutoCorrAlgToDB.cxx:22
LArAutoCorrAlgToDB::m_autocorrKey
SG::ReadCondHandleKey< LArAutoCorrTotal > m_autocorrKey
Definition
LArAutoCorrAlgToDB.h:47
LArAutoCorrAlgToDB::m_nGains
unsigned int m_nGains
Definition
LArAutoCorrAlgToDB.h:56
LArAutoCorrAlgToDB::m_groupingType
std::string m_groupingType
Definition
LArAutoCorrAlgToDB.h:50
LArAutoCorrAlgToDB::stop
StatusCode stop()
Definition
LArAutoCorrAlgToDB.cxx:71
LArAutoCorrAlgToDB::m_onlineHelper
const LArOnlineID_Base * m_onlineHelper
Definition
LArAutoCorrAlgToDB.h:43
LArAutoCorrAlgToDB::m_isSC
bool m_isSC
Definition
LArAutoCorrAlgToDB.h:45
LArAutoCorrAlgToDB::initialize
StatusCode initialize()
Definition
LArAutoCorrAlgToDB.cxx:37
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition
LArOnlineID_Base.h:97
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.14.0