ATLAS Offline Software
LArPhysWaveFromStdNtuple.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARPHYSWAVEFROMSTDNTUPLE_H
6 #define LARPHYSWAVEFROMSTDNTUPLE_H
7 
9 
10 #include <vector>
11 #include <string>
12 
22 {
23  public:
24  LArPhysWaveFromStdNtuple(const std::string & name, ISvcLocator * pSvcLocator);
25 
27 
28  //standard algorithm methods
29  StatusCode initialize() {return StatusCode::SUCCESS;}
30  StatusCode execute() {return StatusCode::SUCCESS;}
31  StatusCode finalize(){return StatusCode::SUCCESS;}
32  StatusCode stop();
33 
34  private:
36  Gaudi::Property< unsigned int > m_skipPoints{this, "SkipPoints", 0};
38  Gaudi::Property< unsigned int > m_prefixPoints{this, "PrefixPoints", 0};
40  Gaudi::Property< std::vector<std::string> > m_root_file_names{this, "FileNames", {}, "Input root file names" };
42  Gaudi::Property< std::string > m_ntuple_name{this, "NtupleName", "PhysWave"};
44  Gaudi::Property< std::string > m_store_key{this, "StoreKey", "FromStdNtuple", "SG key to create"};
46  Gaudi::Property< std::string > m_groupingType{this,"GroupingType", "ExtendedFeedThrough", "Which COOL channel grouping to use"};
48  Gaudi::Property< bool > m_isSC{this,"isSC",false,"Running for SuperCells ?"};
49 };
50 
51 #endif
LArPhysWaveFromStdNtuple::finalize
StatusCode finalize()
Definition: LArPhysWaveFromStdNtuple.h:31
LArPhysWaveFromStdNtuple::initialize
StatusCode initialize()
Definition: LArPhysWaveFromStdNtuple.h:29
LArPhysWaveFromStdNtuple::m_prefixPoints
Gaudi::Property< unsigned int > m_prefixPoints
make a PhysWave with the first m_prefixPoints as zeros
Definition: LArPhysWaveFromStdNtuple.h:38
LArPhysWaveFromStdNtuple::~LArPhysWaveFromStdNtuple
~LArPhysWaveFromStdNtuple()
AthAlgorithm.h
LArPhysWaveFromStdNtuple::execute
StatusCode execute()
Definition: LArPhysWaveFromStdNtuple.h:30
LArPhysWaveFromStdNtuple::m_ntuple_name
Gaudi::Property< std::string > m_ntuple_name
ntuple name
Definition: LArPhysWaveFromStdNtuple.h:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArPhysWaveFromStdNtuple::m_store_key
Gaudi::Property< std::string > m_store_key
key of the PhysWave collection in Storegate
Definition: LArPhysWaveFromStdNtuple.h:44
LArPhysWaveFromStdNtuple::m_groupingType
Gaudi::Property< std::string > m_groupingType
Grouping type. Default is Feedthrough.
Definition: LArPhysWaveFromStdNtuple.h:46
AthAlgorithm
Definition: AthAlgorithm.h:47
LArPhysWaveFromStdNtuple::LArPhysWaveFromStdNtuple
LArPhysWaveFromStdNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArPhysWaveFromStdNtuple.cxx:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArPhysWaveFromStdNtuple::stop
StatusCode stop()
Definition: LArPhysWaveFromStdNtuple.cxx:27
LArPhysWaveFromStdNtuple::m_isSC
Gaudi::Property< bool > m_isSC
is SC ?
Definition: LArPhysWaveFromStdNtuple.h:48
LArPhysWaveFromStdNtuple::m_root_file_names
Gaudi::Property< std::vector< std::string > > m_root_file_names
list of input ntuple file names
Definition: LArPhysWaveFromStdNtuple.h:40
LArPhysWaveFromStdNtuple::m_skipPoints
Gaudi::Property< unsigned int > m_skipPoints
the first m_skipPoints points of the waveform in the ntuple are skipped
Definition: LArPhysWaveFromStdNtuple.h:36
LArPhysWaveFromStdNtuple
Definition: LArPhysWaveFromStdNtuple.h:22