![]() |
![]() |
#include <GEMEtaPartitionSpecs.h>
Public Types | |
typedef std::vector< float > | GEMSpecs |
Public Member Functions | |
const std::string & | detName () const |
GEMEtaPartitionSpecs (SubDetector rss, const std::string &name, const GEMSpecs &pars) | |
const Topology & | padTopology () const |
const StripTopology & | specificPadTopology () const |
const StripTopology & | specificTopology () const |
const Topology & | topology () const |
~GEMEtaPartitionSpecs () | |
Private Attributes | |
std::string | _n |
std::vector< float > | _p |
StripTopology * | _top |
topology of strips | |
StripTopology * | _top_pad |
topology of trigger pads (pad = bundle of strips, basically, a "fat" strip) |
Storage of the parameters of the GEM Chamber using standard topologies
Definition at line 19 of file GEMEtaPartitionSpecs.h.
typedef std::vector<float> GEMEtaPartitionSpecs::GEMSpecs |
Definition at line 23 of file GEMEtaPartitionSpecs.h.
GEMEtaPartitionSpecs::GEMEtaPartitionSpecs | ( | SubDetector | rss, |
const std::string & | name, | ||
const GEMSpecs & | pars | ||
) |
Definition at line 9 of file GEMEtaPartitionSpecs.cc.
References _p, _top, _top_pad, b, GeomDetEnumerators::GEM, h, gen::npad, and RecoTauPiZeroBuilderPlugins_cfi::strips.
: GeomDetType(name, rss), _p(pars), _n(name) { if (rss == GEM ) { float b = _p[0]; float B = _p[1]; float h = _p[2]; float r0 = h*(B + b)/(B - b); float striplength = h*2; float strips = _p[3]; float pitch = (b + B)/strips; int nstrip =static_cast<int>(strips); _top = new TrapezoidalStripTopology(nstrip, pitch, striplength, r0); float pads = _p[4]; float pad_pitch = (b + B)/pads; int npad =static_cast<int>(pads); _top_pad = new TrapezoidalStripTopology(npad, pad_pitch, striplength, r0); } else { _top = nullptr; _top_pad = nullptr; } }
GEMEtaPartitionSpecs::~GEMEtaPartitionSpecs | ( | ) |
const std::string & GEMEtaPartitionSpecs::detName | ( | ) | const |
const Topology & GEMEtaPartitionSpecs::padTopology | ( | ) | const |
Definition at line 56 of file GEMEtaPartitionSpecs.cc.
References _top_pad.
Referenced by GEMEtaPartition::padTopology().
{ return *_top_pad; }
const StripTopology & GEMEtaPartitionSpecs::specificPadTopology | ( | ) | const |
Definition at line 62 of file GEMEtaPartitionSpecs.cc.
References _top_pad.
Referenced by GEMEtaPartition::specificPadTopology().
{ return *_top_pad; }
const StripTopology & GEMEtaPartitionSpecs::specificTopology | ( | ) | const |
Definition at line 49 of file GEMEtaPartitionSpecs.cc.
References _top.
Referenced by GEMEtaPartition::specificTopology().
{ return *_top; }
const Topology & GEMEtaPartitionSpecs::topology | ( | ) | const [virtual] |
Implements GeomDetType.
Definition at line 43 of file GEMEtaPartitionSpecs.cc.
References _top.
Referenced by GEMSimAverage::simulate(), GEMSimTriv::simulate(), and GEMEtaPartition::topology().
{ return *_top; }
std::string GEMEtaPartitionSpecs::_n [private] |
Definition at line 48 of file GEMEtaPartitionSpecs.h.
Referenced by detName().
std::vector<float> GEMEtaPartitionSpecs::_p [private] |
Definition at line 47 of file GEMEtaPartitionSpecs.h.
Referenced by GEMEtaPartitionSpecs().
StripTopology* GEMEtaPartitionSpecs::_top [private] |
topology of strips
Definition at line 42 of file GEMEtaPartitionSpecs.h.
Referenced by GEMEtaPartitionSpecs(), specificTopology(), topology(), and ~GEMEtaPartitionSpecs().
StripTopology* GEMEtaPartitionSpecs::_top_pad [private] |
topology of trigger pads (pad = bundle of strips, basically, a "fat" strip)
Definition at line 45 of file GEMEtaPartitionSpecs.h.
Referenced by GEMEtaPartitionSpecs(), padTopology(), specificPadTopology(), and ~GEMEtaPartitionSpecs().