ATLAS Offline Software
Loading...
Searching...
No Matches
StaveServices.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INDETSERVMATGEOMODEL_STAVESERVICES_H
6#define INDETSERVMATGEOMODEL_STAVESERVICES_H
7
8#include "DetType.h"
9#include <vector>
10
16public:
17
19 int nhv, int ndcs, int ndata, const std::vector<int>& lvGauge) :
21 m_numHV(nhv), m_numDCS( ndcs), m_numData( ndata), m_lvGauge( lvGauge) {}
22
24 int nhv, int ndcs, int ndata, int lvGauge) :
26 m_numHV(nhv), m_numDCS( ndcs), m_numData( ndata), m_lvGauge( 1, lvGauge) {}
27
28 DetType::Type type() const { return m_type;}
29 DetType::Part part() const { return m_part;}
30 int layer() const { return m_layer;}
31
32 int numHV() const { return m_numHV;}
33 int numDCS() const { return m_numDCS;}
34 int numData() const { return m_numData;}
35 int numLvTypes() const { return m_lvGauge.size();}
36 int lvGauge( int lvType) const { return m_lvGauge.at( lvType);}
37
38private:
39
46 std::vector<int> m_lvGauge;
47
48};
49
50#endif
StaveServices(DetType::Type type, DetType::Part part, int layer, int nhv, int ndcs, int ndata, int lvGauge)
int lvGauge(int lvType) const
int numHV() const
DetType::Type m_type
int numData() const
int numDCS() const
DetType::Part part() const
StaveServices(DetType::Type type, DetType::Part part, int layer, int nhv, int ndcs, int ndata, const std::vector< int > &lvGauge)
int numLvTypes() const
int layer() const
DetType::Part m_part
std::vector< int > m_lvGauge
DetType::Type type() const