ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibTools
LArCalibTools
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
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
10
#include <vector>
11
#include <string>
12
23
24
25
class
LArPhysWaveFromTuple
:
public
AthReentrantAlgorithm
26
{
27
public
:
28
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
29
30
virtual
~LArPhysWaveFromTuple
();
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
AthReentrantAlgorithm.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
LArPhysWaveFromTuple
This algorithm allows to read wave forms from ntuples and builds a LArPhysWaveContainer conating the ...
Definition
LArPhysWaveFromTuple.h:26
LArPhysWaveFromTuple::execute
virtual StatusCode execute(const EventContext &) const override
Definition
LArPhysWaveFromTuple.h:35
LArPhysWaveFromTuple::m_root_file_name
Gaudi::Property< std::string > m_root_file_name
input file name
Definition
LArPhysWaveFromTuple.h:48
LArPhysWaveFromTuple::m_flag
Gaudi::Property< unsigned int > m_flag
flag for the PhysWave container
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:40
LArPhysWaveFromTuple::~LArPhysWaveFromTuple
virtual ~LArPhysWaveFromTuple()
LArPhysWaveFromTuple::m_isSC
Gaudi::Property< bool > m_isSC
Definition
LArPhysWaveFromTuple.h:55
LArPhysWaveFromTuple::initialize
virtual StatusCode initialize() override
Definition
LArPhysWaveFromTuple.cxx:26
LArPhysWaveFromTuple::m_store_key
Gaudi::Property< std::string > m_store_key
key of the PhysWave collection in Storegate
Definition
LArPhysWaveFromTuple.h:52
LArPhysWaveFromTuple::m_ntuple_name
Gaudi::Property< std::string > m_ntuple_name
ntuple name
Definition
LArPhysWaveFromTuple.h:50
LArPhysWaveFromTuple::m_groupingType
Gaudi::Property< std::string > m_groupingType
Grouping type. Default is Feedthrough.
Definition
LArPhysWaveFromTuple.h:54
LArPhysWaveFromTuple::m_gain
Gaudi::Property< int > m_gain
Definition
LArPhysWaveFromTuple.h:56
LArPhysWaveFromTuple::stop
virtual StatusCode stop() override
Definition
LArPhysWaveFromTuple.cxx:32
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:42
LArPhysWaveFromTuple::m_prefixPoints
Gaudi::Property< unsigned int > m_prefixPoints
make a PhysWave with the first m_prefixPoints as zeros
Definition
LArPhysWaveFromTuple.h:44
Generated on
for ATLAS Offline Software by
1.17.0