ATLAS Offline Software
Loading...
Searching...
No Matches
LArCaliWaveFromTuple.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 LARCALIWAVEFROMTuple_H
6#define LARCALIWAVEFROMTuple_H
7
9
10#include <string>
11
18
19
21{
22 public:
24
25 StatusCode execute(const EventContext& ) override final {return StatusCode::SUCCESS;};
26
27 StatusCode stop() override;
28
29 private:
31 Gaudi::Property<unsigned int> m_NPoints{this, "NPoints", 32, "number of points per measurement"};
33 Gaudi::Property<unsigned int> m_skipPoints{this, "SkipPoints", 0, "How many points to skip"};
35 Gaudi::Property<unsigned int> m_prefixPoints{this, "PrefixPoints", 0, "How many points to add on front"};
37 Gaudi::Property<unsigned int> m_flag{this, "LArWaveFlag", 20, "Flag to store with CaliWave"};
39 Gaudi::Property<std::string> m_root_file_name{this, "FileName", "", "which file to open"};
41 Gaudi::Property<std::string> m_ntuple_name{this, "NtupleName", "CALIWAVE", "which ntuple to read"};
43 Gaudi::Property<std::string> m_store_key{this, "StoreKey", "FROMTUPLE", "SG key of created container"};
45 Gaudi::Property<std::string> m_groupingType{this, "GroupingType", "ExtendedFeedThrough", "container grouping type"};
46 Gaudi::Property< bool > m_isSC{this, "isSC", false, "Running for SuperCells ?"};
47 Gaudi::Property< float > m_dt{this, "DelayStep", 25./24., "what is the delay step in ns ?"};
48};
49
50#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
This algorithm allows to read wave forms from ntuples and builds a LArCaliWaveContainer containg the ...
Gaudi::Property< bool > m_isSC
Gaudi::Property< std::string > m_ntuple_name
ntuple name
StatusCode stop() override
StatusCode execute(const EventContext &) override final
Execute method.
Gaudi::Property< unsigned int > m_NPoints
max number of points of the waveform in the ntuple
Gaudi::Property< std::string > m_root_file_name
input file name
Gaudi::Property< float > m_dt
Gaudi::Property< unsigned int > m_skipPoints
the first m_skipPoints points of the waveform in the ntuple are skipped
Gaudi::Property< unsigned int > m_flag
flag for the PhysWave container
Gaudi::Property< std::string > m_groupingType
Grouping type. Default is Feedthrough.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< unsigned int > m_prefixPoints
make a PhysWave with the first m_prefixPoints as zeros
Gaudi::Property< std::string > m_store_key
key of the PhysWave collection in Storegate