ATLAS Offline Software
Loading...
Searching...
No Matches
HGTDCluster_v1.h
Go to the documentation of this file.
1
9
10#ifndef XAODINDETMEASUREMENT_HGTDCLUSTER_V1_H
11#define XAODINDETMEASUREMENT_HGTDCLUSTER_V1_H
12
14#include "Identifier/Identifier.h"
17
18namespace xAOD {
19
22
23
25
26 public:
27
29 HGTDCluster_v1() = default;
31 virtual ~HGTDCluster_v1() = default;
32
33
38 unsigned int numDimensions() const override final { return 3; }
39
40
43 rdoList() const;
44
45
46
49 totList() const;
50
51
54
56 void setRDOlist(std::vector<Identifier::value_type>&& rdoList);
60 void setRDOlist(const std::vector<Identifier>& rdolist);
61
63 void setToTlist(const std::vector<int>& tots);
64
65 static const SG::AuxElement::Accessor<SG::JaggedVecElt<Identifier::value_type> > rdoListAcc() { return s_rdoListAcc; }
66 static const SG::AuxElement::Accessor<SG::JaggedVecElt<int> > totListAcc() { return s_totListAcc; }
68protected:
69 static const SG::AuxElement::Accessor<SG::JaggedVecElt<Identifier::value_type> > s_rdoListAcc;
70 static const SG::AuxElement::Accessor<SG::JaggedVecElt<int> > s_totListAcc;
71public:
72
73};
74
75inline
78 return s_rdoListAcc(*this);
79}
80
81inline
84 return s_totListAcc(*this);
85}
86
87} // namespace xAOD
90#endif // XAODHGTDCluster_v1_H
An STL vector of pointers that by default owns its pointed-to elements.
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
Definition DataVector.h:649
Helper class to provide type-safe access to aux data, specialized for JaggedVecElt.
Helper class to provide constant type-safe access to aux data.
void setRDOlist(std::vector< Identifier::value_type > &&rdoList)
Sets the list of identifiers of the channels building the cluster.
static const SG::AuxElement::Accessor< SG::JaggedVecElt< Identifier::value_type > > s_rdoListAcc
static const SG::AuxElement::Accessor< SG::JaggedVecElt< Identifier::value_type > > rdoListAcc()
static const SG::AuxElement::Accessor< SG::JaggedVecElt< int > > totListAcc()
unsigned int numDimensions() const override final
Returns the number of dimensions of the measurement.
static const SG::AuxElement::Accessor< SG::JaggedVecElt< int > > s_totListAcc
SG::ConstAccessor< SG::JaggedVecElt< int > >::element_type totList() const
Returns the list of Time Over Threshold of the channels building the cluster.
xAOD::UncalibMeasType type() const override final
Returns the type of the HGTD cluster as a simple enumeration.
virtual ~HGTDCluster_v1()=default
Virtual destructor.
SG::ConstAccessor< SG::JaggedVecElt< Identifier::value_type > >::element_type rdoList() const
Returns the list of identifiers of the channels building the cluster.
void setToTlist(const std::vector< int > &tots)
Sets the list of ToT of the channels building the cluster.
HGTDCluster_v1()=default
Default constructor.
UncalibratedMeasurement_v1()=default
Default constructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
UncalibMeasType
Define the type of the uncalibrated measurement.