ATLAS Offline Software
LArAutoCorrFromStdNtuple.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 LARAUTOCORRFROMSTDNTUPLE_H
6 #define LARAUTOCORRFROMSTDNTUPLE_H
7 
12 
13 #include <vector>
14 #include <string>
15 
25 {
26  public:
27  LArAutoCorrFromStdNtuple(const std::string & name, ISvcLocator * pSvcLocator);
28 
30 
31  //standard algorithm methods
33  virtual StatusCode initialize() override;
34 
36  virtual StatusCode execute() override {return StatusCode::SUCCESS;}
37 
38  virtual StatusCode finalize() override {return StatusCode::SUCCESS;}
39  virtual StatusCode stop() override;
40 
41  private:
44  std::vector<std::string> m_root_file_names;
46  std::string m_ntuple_name;
48  std::string m_store_key;
50  std::string m_groupingType;
54  bool m_sFcal;
55 
57  {this, "MCSymKey", "LArMCSym", "SG Key of LArMCSym object"};
58  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
59 };
60 
61 #endif
LArAutoCorrFromStdNtuple::m_store_key
std::string m_store_key
key of the LArAutoCorr collection in Storegate
Definition: LArAutoCorrFromStdNtuple.h:48
LArAutoCorrFromStdNtuple::execute
virtual StatusCode execute() override
implements IAlgorithm::execute() : Does nothing
Definition: LArAutoCorrFromStdNtuple.h:36
LArAutoCorrFromStdNtuple::~LArAutoCorrFromStdNtuple
virtual ~LArAutoCorrFromStdNtuple()
LArAutoCorrFromStdNtuple::m_isComplete
bool m_isComplete
type
Definition: LArAutoCorrFromStdNtuple.h:52
AthAlgorithm.h
LArAutoCorrFromStdNtuple::initialize
virtual StatusCode initialize() override
implements IAlgorithm::initialize()
Definition: LArAutoCorrFromStdNtuple.cxx:76
LArAutoCorrFromStdNtuple::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArAutoCorrFromStdNtuple.h:58
LArAutoCorrFromStdNtuple::m_root_file_names
std::vector< std::string > m_root_file_names
list of input ntuple file names
Definition: LArAutoCorrFromStdNtuple.h:44
LArOnOffIdMapping.h
LArAutoCorrFromStdNtuple::m_mcSymKey
SG::ReadCondHandleKey< LArMCSym > m_mcSymKey
Definition: LArAutoCorrFromStdNtuple.h:57
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArAutoCorrFromStdNtuple::m_sFcal
bool m_sFcal
drop FCAL and change to sFCal
Definition: LArAutoCorrFromStdNtuple.h:54
LArAutoCorrFromStdNtuple::m_ntuple_name
std::string m_ntuple_name
ntuple name
Definition: LArAutoCorrFromStdNtuple.h:46
LArAutoCorrFromStdNtuple::finalize
virtual StatusCode finalize() override
Definition: LArAutoCorrFromStdNtuple.h:38
AthAlgorithm
Definition: AthAlgorithm.h:47
LArAutoCorrFromStdNtuple::stop
virtual StatusCode stop() override
Definition: LArAutoCorrFromStdNtuple.cxx:85
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LArAutoCorrFromStdNtuple::LArAutoCorrFromStdNtuple
LArAutoCorrFromStdNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArAutoCorrFromStdNtuple.cxx:61
LArAutoCorrFromStdNtuple
Definition: LArAutoCorrFromStdNtuple.h:25
SG::ReadCondHandleKey< LArMCSym >
LArAutoCorrFromStdNtuple::m_groupingType
std::string m_groupingType
Grouping type.
Definition: LArAutoCorrFromStdNtuple.h:50
LArAutoCorrFromStdNtuple::m_nsamples
int m_nsamples
Definition: LArAutoCorrFromStdNtuple.h:42
LArMCSym.h