ATLAS Offline Software
Loading...
Searching...
No Matches
LArPhysWaveFromTuple.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 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
23
24
26{
27 public:
28 using AthReentrantAlgorithm::AthReentrantAlgorithm;
29
31
32 //standard algorithm methods
33 virtual StatusCode initialize() override;
34
35 virtual StatusCode execute(const EventContext&) const override {return StatusCode::SUCCESS;}
36 virtual StatusCode stop() override;
37
38 private:
40 Gaudi::Property<unsigned int> m_NPoints{this, "NPoints", 800, "Max number of points in ntuple"};
42 Gaudi::Property<unsigned int> m_skipPoints{this, "SkipPoints", 0, "How many points to skip"};
44 Gaudi::Property<unsigned int> m_prefixPoints{this, "PrefixPoints", 0, "How many points to add on front"};
46 Gaudi::Property<unsigned int> m_flag{this, "LArWaveFlag", 20, "Flag to store with PhysWave"};
48 Gaudi::Property<std::string> m_root_file_name{this, "FileName", "", "which file to open"};
50 Gaudi::Property<std::string> m_ntuple_name{this, "NtupleName", "PHYSWAVE", "which ntuple to read"};
52 Gaudi::Property<std::string> m_store_key{this, "StoreKey", "FROMTUPLE", "SG key of created container"};
54 Gaudi::Property<std::string> m_groupingType{this, "GroupingType", "ExtendedFeedThrough", "container grouping type"};
55 Gaudi::Property< bool > m_isSC{this, "isSC", false, "Running for SuperCells ?"};
56 Gaudi::Property< int > m_gain{this, "Gain", 0, "which gain to use ?"};
57};
58
59#endif
An algorithm that can be simultaneously executed in multiple threads.
This algorithm allows to read wave forms from ntuples and builds a LArPhysWaveContainer conating the ...
virtual StatusCode execute(const EventContext &) const override
Gaudi::Property< std::string > m_root_file_name
input file name
Gaudi::Property< unsigned int > m_flag
flag for the PhysWave container
Gaudi::Property< unsigned int > m_NPoints
max number of points of the waveform in the ntuple
virtual ~LArPhysWaveFromTuple()
Gaudi::Property< bool > m_isSC
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_store_key
key of the PhysWave collection in Storegate
Gaudi::Property< std::string > m_ntuple_name
ntuple name
Gaudi::Property< std::string > m_groupingType
Grouping type. Default is Feedthrough.
Gaudi::Property< int > m_gain
virtual StatusCode stop() override
Gaudi::Property< unsigned int > m_skipPoints
the first m_skipPoints points of the waveform in the ntuple are skipped
Gaudi::Property< unsigned int > m_prefixPoints
make a PhysWave with the first m_prefixPoints as zeros