#include <Geometry/RPCGeometry/interface/RPCRoll.h>
Public Member Functions | |
LocalPoint | centreOfStrip (float strip) const |
LocalPoint | centreOfStrip (int strip) const |
const RPCChamber * | chamber () const |
Return the chamber this roll belongs to. | |
DetId | geographicalId () const |
The label of this GeomDet. | |
RPCDetId | id () const |
bool | isBarrel () const |
bool | isForward () const |
LocalError | localError (float strip) const |
float | localPitch (const LocalPoint &lp) const |
int | nstrips () const |
float | pitch () const |
RPCRoll (RPCDetId id, BoundPlane::BoundPlanePointer bp, RPCRollSpecs *rrs) | |
const StripTopology & | specificTopology () const |
const RPCRollSpecs * | specs () const |
float | strip (const LocalPoint &lp) const |
const Topology & | topology () const |
const GeomDetType & | type () const |
~RPCRoll () | |
Private Member Functions | |
void | setChamber (const RPCChamber *ch) |
Private Attributes | |
RPCDetId | _id |
RPCRollSpecs * | _rrs |
const RPCChamber * | theCh |
Definition at line 12 of file RPCRoll.h.
RPCRoll::RPCRoll | ( | RPCDetId | id, | |
BoundPlane::BoundPlanePointer | bp, | |||
RPCRollSpecs * | rrs | |||
) |
RPCRoll::~RPCRoll | ( | ) |
Definition at line 10 of file RPCRoll.cc.
References _rrs.
00011 { 00012 delete _rrs; //Assume the roll owns it specs (specs are not shared) 00013 }
LocalPoint RPCRoll::centreOfStrip | ( | float | strip | ) | const |
Definition at line 63 of file RPCRoll.cc.
References StripTopology::localPosition(), and specificTopology().
00064 { 00065 return this->specificTopology().localPosition(strip); 00066 }
LocalPoint RPCRoll::centreOfStrip | ( | int | strip | ) | const |
Definition at line 56 of file RPCRoll.cc.
References StripTopology::localPosition(), s, and specificTopology().
Referenced by RPCStripsRing::addRoll(), RPCDigiValid::analyze(), RPCRecHitStandardAlgo::compute(), GlobalDigisAnalyzer::fillMuon(), RPCDetInfo::RPCDetInfo(), RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoise::simulate(), RPCSimParam::simulate(), and RPCSimAverage::simulate().
00057 { 00058 float s = static_cast<float>(strip)-0.5; 00059 return this->specificTopology().localPosition(s); 00060 }
const RPCChamber * RPCRoll::chamber | ( | ) | const |
Return the chamber this roll belongs to.
Definition at line 45 of file RPCRoll.cc.
References theCh.
00045 { 00046 return theCh; 00047 }
DetId RPCRoll::geographicalId | ( | ) | const [virtual] |
The label of this GeomDet.
Implements GeomDet.
Definition at line 22 of file RPCRoll.cc.
References _id.
Referenced by RPCGeometry::add().
00023 { 00024 return _id; 00025 }
Definition at line 28 of file RPCRoll.cc.
References _id.
Referenced by RPCStripsRing::addRoll(), RPCMonitorEfficiency::analyze(), RPCEfficiency::analyze(), RPCRecHitValid::analyze(), RPCEfficiencyFromTrack::analyze(), VisEventSetupService::annotateRPCChambers(), VisEventSetup::buildRPC(), VisEventSetupService::buildRPCChambers(), RPCStripsRing::calculateHwPlane(), RPCStripsRing::getRingId(), RPCDetInfo::RPCDetInfo(), RPCStripsRing::RPCStripsRing(), VisEventSetupService::rpcTextRep(), RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoise::simulate(), RPCSimParam::simulate(), RPCSimTriv::simulate(), RPCSimSimple::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoise::simulateNoise(), RPCSimTriv::simulateNoise(), RPCSimAverage::simulateNoise(), RPCSimSimple::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), and RPCSimParam::simulateNoise().
00029 { 00030 return _id; 00031 }
bool RPCRoll::isBarrel | ( | ) | const |
bool RPCRoll::isForward | ( | ) | const |
Definition at line 102 of file RPCRoll.cc.
Referenced by RPCRecHitValid::analyze(), GlobalRecHitsProducer::fillMuon(), and GlobalRecHitsAnalyzer::fillMuon().
LocalError RPCRoll::localError | ( | float | strip | ) | const |
Definition at line 69 of file RPCRoll.cc.
References StripTopology::localError(), specificTopology(), and funct::sqrt().
Referenced by RPCRecHitStandardAlgo::compute().
00070 { 00071 return this->specificTopology().localError(strip,1./sqrt(12.)); 00072 }
float RPCRoll::localPitch | ( | const LocalPoint & | lp | ) | const |
Definition at line 82 of file RPCRoll.cc.
References StripTopology::localPitch(), and specificTopology().
00083 { 00084 return this->specificTopology().localPitch(lp); 00085 00086 }
int RPCRoll::nstrips | ( | ) | const |
Definition at line 50 of file RPCRoll.cc.
References StripTopology::nstrips(), and specificTopology().
Referenced by RPCStripsRing::addRoll(), RPCMonitorEfficiency::analyze(), RPCMon_SS_Dbx_Global::analyze(), RPCEfficiency::analyze(), RPCEfficiencyFromTrack::bookDetUnitTrackEff(), RPCDetInfo::RPCDetInfo(), RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoise::simulate(), RPCSimParam::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoise::simulateNoise(), RPCSimTriv::simulateNoise(), RPCSimAverage::simulateNoise(), RPCSimSimple::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimParam::simulateNoise(), and RPCMonitorDigi::stripsInRoll().
00051 { 00052 return this->specificTopology().nstrips(); 00053 }
float RPCRoll::pitch | ( | ) | const |
Definition at line 89 of file RPCRoll.cc.
References StripTopology::pitch(), and specificTopology().
00090 { 00091 return this->specificTopology().pitch(); 00092 00093 }
void RPCRoll::setChamber | ( | const RPCChamber * | ch | ) | [private] |
const StripTopology & RPCRoll::specificTopology | ( | ) | const |
Definition at line 111 of file RPCRoll.cc.
References _rrs, and RPCRollSpecs::specificTopology().
Referenced by centreOfStrip(), localError(), localPitch(), nstrips(), pitch(), and strip().
00112 { 00113 return _rrs->specificTopology(); 00114 }
const RPCRollSpecs * RPCRoll::specs | ( | ) | const |
Definition at line 16 of file RPCRoll.cc.
References _rrs.
Referenced by RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoise::simulate(), RPCSimParam::simulate(), RPCSimTriv::simulate(), RPCSimSimple::simulate(), and RPCSimAverage::simulate().
00017 { 00018 return _rrs; 00019 }
float RPCRoll::strip | ( | const LocalPoint & | lp | ) | const |
Definition at line 75 of file RPCRoll.cc.
References specificTopology(), and StripTopology::strip().
Referenced by RPCMonitorEfficiency::analyze(), RPCEfficiency::analyze(), RPCEfficiencyFromTrack::analyze(), RPCSimAverageNoise::simulate(), RPCSimAverageNoiseEff::simulate(), and RPCSimAverage::simulate().
00076 { 00077 return this->specificTopology().strip(lp); 00078 00079 }
const Topology & RPCRoll::topology | ( | ) | const [virtual] |
Implements GeomDetUnit.
Definition at line 34 of file RPCRoll.cc.
References _rrs, and RPCRollSpecs::topology().
Referenced by RPCMonitorEfficiency::analyze(), RPCEfficiency::analyze(), RPCDetInfo::RPCDetInfo(), RPCSimAverageNoise::simulateNoise(), RPCSimTriv::simulateNoise(), RPCSimAverage::simulateNoise(), RPCSimSimple::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimParam::simulateNoise(), and VisRPCDigiTwig::update().
const GeomDetType & RPCRoll::type | ( | ) | const [virtual] |
Implements GeomDetUnit.
Definition at line 40 of file RPCRoll.cc.
References _rrs.
Referenced by RPCGeometry::add().
00041 { 00042 return (*_rrs); 00043 }
RPCDetId RPCRoll::_id [private] |
RPCRollSpecs* RPCRoll::_rrs [private] |
Definition at line 45 of file RPCRoll.h.
Referenced by specificTopology(), specs(), topology(), type(), and ~RPCRoll().
const RPCChamber* RPCRoll::theCh [private] |