ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibTools
LArCalibTools
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
8
#include "
AthenaBaseComps/AthAlgorithm.h
"
9
10
#include <string>
11
18
19
20
class
LArCaliWaveFromTuple
:
public
AthAlgorithm
21
{
22
public
:
23
using
AthAlgorithm::AthAlgorithm
;
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.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LArCaliWaveFromTuple
This algorithm allows to read wave forms from ntuples and builds a LArCaliWaveContainer containg the ...
Definition
LArCaliWaveFromTuple.h:21
LArCaliWaveFromTuple::m_isSC
Gaudi::Property< bool > m_isSC
Definition
LArCaliWaveFromTuple.h:46
LArCaliWaveFromTuple::m_ntuple_name
Gaudi::Property< std::string > m_ntuple_name
ntuple name
Definition
LArCaliWaveFromTuple.h:41
LArCaliWaveFromTuple::stop
StatusCode stop() override
Definition
LArCaliWaveFromTuple.cxx:27
LArCaliWaveFromTuple::execute
StatusCode execute(const EventContext &) override final
Execute method.
Definition
LArCaliWaveFromTuple.h:25
LArCaliWaveFromTuple::m_NPoints
Gaudi::Property< unsigned int > m_NPoints
max number of points of the waveform in the ntuple
Definition
LArCaliWaveFromTuple.h:31
LArCaliWaveFromTuple::m_root_file_name
Gaudi::Property< std::string > m_root_file_name
input file name
Definition
LArCaliWaveFromTuple.h:39
LArCaliWaveFromTuple::m_dt
Gaudi::Property< float > m_dt
Definition
LArCaliWaveFromTuple.h:47
LArCaliWaveFromTuple::m_skipPoints
Gaudi::Property< unsigned int > m_skipPoints
the first m_skipPoints points of the waveform in the ntuple are skipped
Definition
LArCaliWaveFromTuple.h:33
LArCaliWaveFromTuple::m_flag
Gaudi::Property< unsigned int > m_flag
flag for the PhysWave container
Definition
LArCaliWaveFromTuple.h:37
LArCaliWaveFromTuple::m_groupingType
Gaudi::Property< std::string > m_groupingType
Grouping type. Default is Feedthrough.
Definition
LArCaliWaveFromTuple.h:45
LArCaliWaveFromTuple::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LArCaliWaveFromTuple::m_prefixPoints
Gaudi::Property< unsigned int > m_prefixPoints
make a PhysWave with the first m_prefixPoints as zeros
Definition
LArCaliWaveFromTuple.h:35
LArCaliWaveFromTuple::m_store_key
Gaudi::Property< std::string > m_store_key
key of the PhysWave collection in Storegate
Definition
LArCaliWaveFromTuple.h:43
Generated on
for ATLAS Offline Software by
1.17.0