ATLAS Offline Software
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 
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
LArShapeFromStdNtuple::m_mcSymKey
SG::ReadCondHandleKey< LArMCSym > m_mcSymKey
Definition: LArShapeFromStdNtuple.h:58
LArShapeFromStdNtuple::m_ntuple_name
std::string m_ntuple_name
ntuple name
Definition: LArShapeFromStdNtuple.h:47
LArShapeFromStdNtuple::LArShapeFromStdNtuple
LArShapeFromStdNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArShapeFromStdNtuple.cxx:26
LArShapeFromStdNtuple::~LArShapeFromStdNtuple
virtual ~LArShapeFromStdNtuple()
LArShapeFromStdNtuple::stop
virtual StatusCode stop() override
Definition: LArShapeFromStdNtuple.cxx:49
LArShapeFromStdNtuple::finalize
virtual StatusCode finalize() override
Definition: LArShapeFromStdNtuple.h:36
LArShapeFromStdNtuple::m_prefixPoints
unsigned int m_prefixPoints
make a Shape with the first m_prefixPoints as zeros
Definition: LArShapeFromStdNtuple.h:43
LArShapeFromStdNtuple::m_root_file_names
std::vector< std::string > m_root_file_names
list of input ntuple file names
Definition: LArShapeFromStdNtuple.h:45
AthAlgorithm.h
LArShapeFromStdNtuple::m_skipPoints
unsigned int m_skipPoints
the first m_skipPoints points of the waveform in the ntuple are skipped
Definition: LArShapeFromStdNtuple.h:41
LArShapeFromStdNtuple
Definition: LArShapeFromStdNtuple.h:23
LArShapeFromStdNtuple::initialize
virtual StatusCode initialize() override
implements IAlgorithm::initialize()
Definition: LArShapeFromStdNtuple.cxx:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArShapeFromStdNtuple::m_groupingType
std::string m_groupingType
Grouping type.
Definition: LArShapeFromStdNtuple.h:51
LArShapeFromStdNtuple::m_isComplete
bool m_isComplete
Shape type.
Definition: LArShapeFromStdNtuple.h:53
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
LArShapeFromStdNtuple::execute
virtual StatusCode execute() override
implements IAlgorithm::execute() : Does nothing
Definition: LArShapeFromStdNtuple.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< LArMCSym >
LArShapeFromStdNtuple::m_store_key
std::string m_store_key
key of the LArShape collection in Storegate
Definition: LArShapeFromStdNtuple.h:49
LArShapeFromStdNtuple::m_done
bool m_done
Definition: LArShapeFromStdNtuple.h:55
LArMCSym.h