ATLAS Offline Software
sTgcStripCluster_v1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef XAODMUONPREPDATA_VERSION_STGCSTRIPCLUSTER_V1_H
5 #define XAODMUONPREPDATA_VERSION_STGCSTRIPCLUSTER_V1_H
6 
8 
9 namespace xAOD {
10 
11 
13 
14  public:
16  sTgcStripCluster_v1() = default;
18  virtual ~sTgcStripCluster_v1() = default;
19 
21  sTgcChannelTypes channelType() const override final {
22  return sTgcChannelTypes::Strip;
23  }
24 
26  const std::vector<uint16_t>& stripNumbers() const;
28  const std::vector<short int>& stripTimes() const;
30  const std::vector<int>& stripCharges() const;
31 
33  void setStripNumbers(const std::vector<uint16_t>& strips);
35  void setStripTimes(const std::vector<short int>& times);
37  void setStripCharges(const std::vector<int>& charges);
38 
39 
42  Quality quality() const;
45 
46 
47 };
48 
49 } // namespace xAOD
50 
53 
54 #endif
xAOD::sTgcStripCluster_v1
Definition: sTgcStripCluster_v1.h:12
xAOD::sTgcStripCluster_v1::setStripNumbers
void setStripNumbers(const std::vector< uint16_t > &strips)
Set the list of individual strip clusters.
xAOD::sTgcStripCluster_v1::~sTgcStripCluster_v1
virtual ~sTgcStripCluster_v1()=default
Virtual destructor.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
sTgcIdHelper::sTgcChannelTypes
sTgcChannelTypes
Definition: sTgcIdHelper.h:190
xAOD::sTgcStripCluster_v1::setStripCharges
void setStripCharges(const std::vector< int > &charges)
Set the individual list of contributing charges.
xAOD::sTgcStripCluster_v1::quality
Quality quality() const
xAOD::sTgcStripCluster_v1::sTgcStripCluster_v1
sTgcStripCluster_v1()=default
Default constructor.
xAOD::sTgcStripCluster_v1::channelType
sTgcChannelTypes channelType() const override final
Returns the type of the Tgc strip as a simple enumeration.
Definition: sTgcStripCluster_v1.h:21
xAOD::sTgcStripCluster_v1::setQuality
void setQuality(Quality q)
Set the quality flag.
xAOD::sTgcStripCluster_v1::stripNumbers
const std::vector< uint16_t > & stripNumbers() const
returns the list of strip numbers building up the cluster
xAOD::sTgcStripCluster_v1::stripTimes
const std::vector< short int > & stripTimes() const
returns the list of invidvidual channel times building up the cluster
DATAVECTOR_BASE
DATAVECTOR_BASE(xAOD::sTgcStripCluster_v1, xAOD::sTgcMeasurement_v1)
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
xAOD::sTgcStripCluster_v1::stripCharges
const std::vector< int > & stripCharges() const
returns the list of the inidivudal channel charges bulding up the cluster
xAOD::sTgcStripCluster_v1::setStripTimes
void setStripTimes(const std::vector< short int > &times)
Set the list of indivual strip times.
extractSporadic.q
list q
Definition: extractSporadic.py:98
Muon::sTgcPrepData::Quality
Quality
Definition: sTgcPrepData.h:108
plot_times.times
def times(fn)
Definition: plot_times.py:11
xAOD::sTgcMeasurement_v1
Definition: sTgcMeasurement_v1.h:19
sTgcMeasurement_v1.h