ATLAS Offline Software
Loading...
Searching...
No Matches
LArShapeFromStdNtuple.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 LARSHAPEFROMSTDNTUPLE_H
6#define LARSHAPEFROMSTDNTUPLE_H
7
11
12#include <vector>
13#include <string>
14
21
23{
24 public:
25 using AthReentrantAlgorithm::AthReentrantAlgorithm;
26
28
29 //standard algorithm methods
30 virtual StatusCode initialize() override;
31 virtual StatusCode execute(const EventContext&) const override {return StatusCode::SUCCESS;}
32 virtual StatusCode stop() override;
33
34 private:
36 UnsignedIntegerProperty m_skipPoints { this, "SkipPoints", 0 };
38 UnsignedIntegerProperty m_prefixPoints { this, "PrefixPoints", 0 };
40 StringArrayProperty m_root_file_names { this, "FileNames", {} };
42 StringProperty m_ntuple_name { this, "NtupleName", "SHAPE" };
44 StringProperty m_store_key { this, "StoreKey", "FromStdNtuple" };
46 StringProperty m_groupingType { this, "GroupingType", "ExtendedSubDetector" };
48 BooleanProperty m_isComplete { this, "isComplete", false };
49
50 bool m_done = false;
51
53 {this, "MCSymKey", "LArMCSym", "SG Key of LArMCSym object"};
54};
55
56#endif
An algorithm that can be simultaneously executed in multiple threads.
This algorithm allows to read wave forms from ntuples and builds a LArPhysWaveContainer containing th...
StringProperty m_ntuple_name
ntuple name
virtual ~LArShapeFromStdNtuple()
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &) const override
UnsignedIntegerProperty m_skipPoints
the first m_skipPoints points of the waveform in the ntuple are skipped
virtual StatusCode stop() override
UnsignedIntegerProperty m_prefixPoints
make a Shape with the first m_prefixPoints as zeros
StringArrayProperty m_root_file_names
list of input ntuple file names
StringProperty m_store_key
key of the LArShape collection in Storegate
BooleanProperty m_isComplete
Shape type.
StringProperty m_groupingType
Grouping type.
SG::ReadCondHandleKey< LArMCSym > m_mcSymKey