![]() |
![]() |
#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 StripTopology & | specificTopology () const |
const Topology & | topology () const |
~GEMEtaPartitionSpecs () | |
Private Attributes | |
std::string | _n |
std::vector< float > | _p |
StripTopology * | _top |
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 22 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, b, GeomDetEnumerators::GEM, h, 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); } else { _top = 0; } }
GEMEtaPartitionSpecs::~GEMEtaPartitionSpecs | ( | ) |
const std::string & GEMEtaPartitionSpecs::detName | ( | ) | const |
const StripTopology & GEMEtaPartitionSpecs::specificTopology | ( | ) | const |
Definition at line 43 of file GEMEtaPartitionSpecs.cc.
References _top.
Referenced by GEMEtaPartition::specificTopology().
{ return *(_top); }
const Topology & GEMEtaPartitionSpecs::topology | ( | ) | const [virtual] |
Implements GeomDetType.
Definition at line 37 of file GEMEtaPartitionSpecs.cc.
References _top.
Referenced by GEMEtaPartition::topology().
{ return *(_top); }
std::string GEMEtaPartitionSpecs::_n [private] |
Definition at line 37 of file GEMEtaPartitionSpecs.h.
Referenced by detName().
std::vector<float> GEMEtaPartitionSpecs::_p [private] |
Definition at line 36 of file GEMEtaPartitionSpecs.h.
Referenced by GEMEtaPartitionSpecs().
StripTopology* GEMEtaPartitionSpecs::_top [private] |
Definition at line 35 of file GEMEtaPartitionSpecs.h.
Referenced by GEMEtaPartitionSpecs(), specificTopology(), topology(), and ~GEMEtaPartitionSpecs().