ATLAS Offline Software
Loading...
Searching...
No Matches
LArShapeFromStdNtuple.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 LARSHAPEFROMSTDNTUPLE_H
6#define LARSHAPEFROMSTDNTUPLE_H
7
11
12#include <vector>
13#include <string>
14
21
23{
24 public:
25 LArShapeFromStdNtuple(const std::string & name, ISvcLocator * pSvcLocator);
26
28
29 //standard algorithm methods
31 virtual StatusCode initialize() override;
32
34 virtual StatusCode execute() override {return StatusCode::SUCCESS;}
35
36 virtual StatusCode finalize() override {return StatusCode::SUCCESS;}
37 virtual StatusCode stop() override;
38
39 private:
41 unsigned int m_skipPoints;
43 unsigned int m_prefixPoints;
45 std::vector<std::string> m_root_file_names;
47 std::string m_ntuple_name;
49 std::string m_store_key;
51 std::string m_groupingType;
54
55 bool m_done;
56
58 {this, "MCSymKey", "LArMCSym", "SG Key of LArMCSym object"};
59};
60
61#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual ~LArShapeFromStdNtuple()
unsigned int m_skipPoints
the first m_skipPoints points of the waveform in the ntuple are skipped
unsigned int m_prefixPoints
make a Shape with the first m_prefixPoints as zeros
virtual StatusCode initialize() override
implements IAlgorithm::initialize()
virtual StatusCode stop() override
std::string m_groupingType
Grouping type.
LArShapeFromStdNtuple(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< std::string > m_root_file_names
list of input ntuple file names
virtual StatusCode execute() override
implements IAlgorithm::execute() : Does nothing
std::string m_store_key
key of the LArShape collection in Storegate
std::string m_ntuple_name
ntuple name
SG::ReadCondHandleKey< LArMCSym > m_mcSymKey
virtual StatusCode finalize() override