ATLAS Offline Software
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 
10 NAME: LArOFPhasePicker.h
11 AUTHORS: P. Strizenec
12 CREATED: Mar. 2008
13 
14 Used to pick-up a one OFC phase to fill online Db
15 Use a phases stored in CondDB (using a Tshaper raw condition) or a default from jO
16 Adding possibility to weights OFCb for SC before storing
17 ********************************************************************/
18 
22 
23 class LArOFCBinComplete;
24 class LArOnlineID_Base;
25 
27 {
28 
29  public:
30 
31  LArOFPhasePicker(const std::string& name, ISvcLocator* pSvcLocator);
33 
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:
63 
64 
65 
66 };
67 #endif
LArOFCweightSC.h
LArOFPhasePicker::initialize
StatusCode initialize()
Definition: LArOFPhasePicker.cxx:36
LArOFPhasePicker::m_timeOffsetCorr
int m_timeOffsetCorr
Definition: LArOFPhasePicker.h:55
LArOFPhasePicker::m_keyShape_new
std::string m_keyShape_new
Definition: LArOFPhasePicker.h:50
LArOFPhasePicker::finalize
StatusCode finalize()
Definition: LArOFPhasePicker.h:37
LArOFPhasePicker::m_doShape
bool m_doShape
Definition: LArOFPhasePicker.h:57
LArOFPhasePicker::m_onlineID
const LArOnlineID_Base * m_onlineID
Definition: LArOFPhasePicker.h:42
LArOFPhasePicker::pickOFC
StatusCode pickOFC()
Definition: LArOFPhasePicker.cxx:124
LArOFPhasePicker::~LArOFPhasePicker
~LArOFPhasePicker()
LArOFPhasePicker::m_keyShape
std::string m_keyShape
Definition: LArOFPhasePicker.h:49
LArOFPhasePicker::m_keyOFC
std::string m_keyOFC
Definition: LArOFPhasePicker.h:47
LArOFPhasePicker::m_inputPhase
const LArOFCBinComplete * m_inputPhase
Definition: LArOFPhasePicker.h:41
AthAlgorithm.h
LArOFPhasePicker::execute
StatusCode execute()
Definition: LArOFPhasePicker.cxx:88
LArOFPhasePicker::pickShape
StatusCode pickShape()
Definition: LArOFPhasePicker.cxx:224
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArOFPhasePicker::LArOFPhasePicker
LArOFPhasePicker(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArOFPhasePicker.cxx:14
LArOFPhasePicker
Definition: LArOFPhasePicker.h:27
LArOFCBinComplete
Definition: LArOFCBinComplete.h:13
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
LArOFPhasePicker::m_groupingName
std::string m_groupingName
Definition: LArOFPhasePicker.h:52
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:221
LArOFPhasePicker::m_doOFC
bool m_doOFC
Definition: LArOFPhasePicker.h:57
LArOFPhasePicker::stop
StatusCode stop()
Definition: LArOFPhasePicker.cxx:95
SG::ReadCondHandleKey< LArOFCweightSC >
LArOFPhasePicker::m_keyPhase
std::string m_keyPhase
Definition: LArOFPhasePicker.h:51
LArOFPhasePicker::m_groupingType
int m_groupingType
Definition: LArOFPhasePicker.h:54
LArOFPhasePicker::m_ofcWKey
SG::ReadCondHandleKey< LArOFCweightSC > m_ofcWKey
Definition: LArOFPhasePicker.h:44
LArOFPhasePicker::m_defaultPhase
int m_defaultPhase
Definition: LArOFPhasePicker.h:56
LArOFPhasePicker::m_keyOFC_new
std::string m_keyOFC_new
Definition: LArOFPhasePicker.h:48
LArOFPhasePicker::m_isSC
bool m_isSC
Definition: LArOFPhasePicker.h:58