ATLAS Offline Software
Loading...
Searching...
No Matches
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
22
23
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
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute() override
implements IAlgorithm::execute() : Does nothing
virtual StatusCode stop() override
std::string m_ntuple_name
ntuple name
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
bool m_sFcal
drop FCAL and change to sFCal
LArAutoCorrFromStdNtuple(const std::string &name, ISvcLocator *pSvcLocator)
std::string m_groupingType
Grouping type.
std::vector< std::string > m_root_file_names
list of input ntuple file names
virtual StatusCode finalize() override
std::string m_store_key
key of the LArAutoCorr collection in Storegate
virtual ~LArAutoCorrFromStdNtuple()
virtual StatusCode initialize() override
implements IAlgorithm::initialize()
SG::ReadCondHandleKey< LArMCSym > m_mcSymKey