ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
24
26{
27 public:
28 LArPhysWaveFromTuple(const std::string & name, ISvcLocator * pSvcLocator);
29
31
32 //standard algorithm methods
33 StatusCode initialize() ;
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
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
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
Gaudi::Property< bool > m_isSC
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
LArPhysWaveFromTuple(const std::string &name, ISvcLocator *pSvcLocator)
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