ATLAS Offline Software
Loading...
Searching...
No Matches
LArOFPhasePicker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARCALIBUTILS_LArOFPhasePicker_H
6#define LARCALIBUTILS_LArOFPhasePicker_H
7
8/********************************************************************
9
10NAME: LArOFPhasePicker.h
11AUTHORS: P. Strizenec
12CREATED: Mar. 2008
13
14Used to pick-up a one OFC phase to fill online Db
15Use a phases stored in CondDB (using a Tshaper raw condition) or a default from jO
16Adding possibility to weights OFCb for SC before storing
17********************************************************************/
18
22
25
27{
28
29 public:
30
31 LArOFPhasePicker(const std::string& name, ISvcLocator* pSvcLocator);
33
34 StatusCode initialize();
35 StatusCode execute();
36 StatusCode stop();
37 StatusCode finalize(){return StatusCode::SUCCESS;}
38
39 private:
40
43
44 SG::ReadCondHandleKey<LArOFCweightSC> m_ofcWKey{this,"OFCbWeightKey","","Key for weighting the OFCb"};
45
46 //Job properties
47 std::string m_keyOFC;
48 std::string m_keyOFC_new;
49 std::string m_keyShape;
50 std::string m_keyShape_new;
51 std::string m_keyPhase;
52 std::string m_groupingName;
53
58 bool m_isSC;
59
60 //private methods:
61 StatusCode pickOFC();
62 StatusCode pickShape();
63
64
65
66};
67#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::string m_keyShape_new
std::string m_keyPhase
const LArOFCBinComplete * m_inputPhase
SG::ReadCondHandleKey< LArOFCweightSC > m_ofcWKey
LArOFPhasePicker(const std::string &name, ISvcLocator *pSvcLocator)
std::string m_groupingName
const LArOnlineID_Base * m_onlineID
std::string m_keyShape
std::string m_keyOFC_new
StatusCode finalize()
StatusCode initialize()
Helper for the Liquid Argon Calorimeter cell identifiers.