Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
LArPhysWaveFromTuple.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 LARPHYSWAVEFROMTuple_H
6 #define LARPHYSWAVEFROMTuple_H
7 
9 
10 #include <vector>
11 #include <string>
12 
26 {
27  public:
28  LArPhysWaveFromTuple(const std::string & name, ISvcLocator * pSvcLocator);
29 
31 
32  //standard algorithm methods
34 
35  StatusCode execute() {return StatusCode::SUCCESS;}
36 
37  StatusCode finalize(){return StatusCode::SUCCESS;}
38  StatusCode stop();
39 
40  private:
42  Gaudi::Property<unsigned int> m_NPoints{this, "NPoints", 800, "Max number of points in ntuple"};
44  Gaudi::Property<unsigned int> m_skipPoints{this, "SkipPoints", 0, "How many points to skip"};
46  Gaudi::Property<unsigned int> m_prefixPoints{this, "PrefixPoints", 0, "How many points to add on front"};
48  Gaudi::Property<unsigned int> m_flag{this, "LArWaveFlag", 20, "Flag to store with PhysWave"};
50  Gaudi::Property<std::string> m_root_file_name{this, "FileName", "", "which file to open"};
52  Gaudi::Property<std::string> m_ntuple_name{this, "NtupleName", "PHYSWAVE", "which ntuple to read"};
54  Gaudi::Property<std::string> m_store_key{this, "StoreKey", "FROMTUPLE", "SG key of created container"};
56  Gaudi::Property<std::string> m_groupingType{this, "GroupingType", "ExtendedFeedThrough", "container grouping type"};
57  Gaudi::Property< bool > m_isSC{this, "isSC", false, "Running for SuperCells ?"};
58  Gaudi::Property< int > m_gain{this, "Gain", 0, "which gain to use ?"};
59 };
60 
61 #endif
LArPhysWaveFromTuple::~LArPhysWaveFromTuple
~LArPhysWaveFromTuple()
LArPhysWaveFromTuple::m_gain
Gaudi::Property< int > m_gain
Definition: LArPhysWaveFromTuple.h:58
LArPhysWaveFromTuple::execute
StatusCode execute()
Definition: LArPhysWaveFromTuple.h:35
LArPhysWaveFromTuple::finalize
StatusCode finalize()
Definition: LArPhysWaveFromTuple.h:37
LArPhysWaveFromTuple::m_groupingType
Gaudi::Property< std::string > m_groupingType
Grouping type. Default is Feedthrough.
Definition: LArPhysWaveFromTuple.h:56
LArPhysWaveFromTuple
Definition: LArPhysWaveFromTuple.h:26
LArPhysWaveFromTuple::m_store_key
Gaudi::Property< std::string > m_store_key
key of the PhysWave collection in Storegate
Definition: LArPhysWaveFromTuple.h:54
AthAlgorithm.h
LArPhysWaveFromTuple::m_flag
Gaudi::Property< unsigned int > m_flag
flag for the PhysWave container
Definition: LArPhysWaveFromTuple.h:48
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArPhysWaveFromTuple::stop
StatusCode stop()
Definition: LArPhysWaveFromTuple.cxx:36
LArPhysWaveFromTuple::m_root_file_name
Gaudi::Property< std::string > m_root_file_name
input file name
Definition: LArPhysWaveFromTuple.h:50
AthAlgorithm
Definition: AthAlgorithm.h:47
LArPhysWaveFromTuple::m_ntuple_name
Gaudi::Property< std::string > m_ntuple_name
ntuple name
Definition: LArPhysWaveFromTuple.h:52
LArPhysWaveFromTuple::m_isSC
Gaudi::Property< bool > m_isSC
Definition: LArPhysWaveFromTuple.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArPhysWaveFromTuple::m_prefixPoints
Gaudi::Property< unsigned int > m_prefixPoints
make a PhysWave with the first m_prefixPoints as zeros
Definition: LArPhysWaveFromTuple.h:46
LArPhysWaveFromTuple::m_NPoints
Gaudi::Property< unsigned int > m_NPoints
max number of points of the waveform in the ntuple
Definition: LArPhysWaveFromTuple.h:42
LArPhysWaveFromTuple::m_skipPoints
Gaudi::Property< unsigned int > m_skipPoints
the first m_skipPoints points of the waveform in the ntuple are skipped
Definition: LArPhysWaveFromTuple.h:44
LArPhysWaveFromTuple::initialize
StatusCode initialize()
Definition: LArPhysWaveFromTuple.cxx:30
LArPhysWaveFromTuple::LArPhysWaveFromTuple
LArPhysWaveFromTuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArPhysWaveFromTuple.cxx:23