ATLAS Offline Software
LArOFC2Ntuple.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 /*
9 
10  This algorithm produces a column-wise NTuple out of a LArOFCContainer.
11  Only the finalize method is used, initalize and execute are empty.
12  The key of the container is given by the jobOption 'ContainerKey'.
13 
14  * @author M. Delmastro
15  * 30. 3. 2005
16 
17 */
18 
19 #ifndef LAROFC2NTUPLE_H
20 #define LAROFC2NTUPLE_H
23 #include "LArElecCalib/ILArOFC.h"
24 
26  public:
27 
28  LArOFC2Ntuple(const std::string & name, ISvcLocator * pSvcLocator);
29  virtual ~LArOFC2Ntuple();
30 
31  //standard algorithm methods
32  virtual StatusCode initialize() override;
33  virtual StatusCode stop() override;
34  virtual StatusCode finalize() override {return StatusCode::SUCCESS;}
35 
36  private:
37 
38  unsigned m_nSamples;// , m_nPhases ;
39  std::string m_ntName;
40  std::string m_ntFile;
41 
42  // Property: OFC coefficients (conditions input).
44  {this, "ContainerKey", "LArOFC", "SG Key of OFC conditions object" };
45 
46 };
47 
48 #endif
LArOFC2Ntuple::m_nSamples
unsigned m_nSamples
Definition: LArOFC2Ntuple.h:38
LArCond2NtupleBase.h
LArOFC2Ntuple::m_ofcKey
SG::ReadCondHandleKey< ILArOFC > m_ofcKey
Definition: LArOFC2Ntuple.h:44
LArOFC2Ntuple::initialize
virtual StatusCode initialize() override
Definition: LArOFC2Ntuple.cxx:22
LArOFC2Ntuple
Definition: LArOFC2Ntuple.h:25
LArOFC2Ntuple::stop
virtual StatusCode stop() override
Definition: LArOFC2Ntuple.cxx:32
ILArOFC.h
LArCond2NtupleBase
Definition: LArCond2NtupleBase.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArOFC2Ntuple::m_ntFile
std::string m_ntFile
Definition: LArOFC2Ntuple.h:40
LArOFC2Ntuple::~LArOFC2Ntuple
virtual ~LArOFC2Ntuple()
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SG::ReadCondHandleKey< ILArOFC >
LArOFC2Ntuple::finalize
virtual StatusCode finalize() override
Definition: LArOFC2Ntuple.h:34
LArOFC2Ntuple::LArOFC2Ntuple
LArOFC2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArOFC2Ntuple.cxx:11
LArOFC2Ntuple::m_ntName
std::string m_ntName
Definition: LArOFC2Ntuple.h:39