#include <RPCChamber.h>
Public Member Functions | |
void | add (RPCRoll *rl) |
Add Roll to the chamber which takes ownership. More... | |
virtual const GeomDet * | component (DetId id) const |
Return the sub-component (roll) with a given id in this chamber. More... | |
virtual std::vector< const GeomDet * > | components () const |
Return the rolls in the chamber. More... | |
RPCDetId | id () const |
Return the RPCChamberId of this chamber. More... | |
int | nrolls () const |
Retunr numbers of rolls. More... | |
bool | operator== (const RPCChamber &ch) const |
equal if the id is the same More... | |
const RPCRoll * | roll (RPCDetId id) const |
Return the Roll corresponding to the given id. More... | |
const RPCRoll * | roll (int isl) const |
const std::vector< const RPCRoll * > & | rolls () const |
Return the Rolls. More... | |
RPCChamber (RPCDetId id, const ReferenceCountingPointer< BoundPlane > &plane) | |
Constructor. More... | |
virtual SubDetector | subDetector () const |
Which subdetector. More... | |
virtual | ~RPCChamber () |
Destructor. More... | |
Public Member Functions inherited from GeomDet | |
AlignmentPositionError const * | alignmentPositionError () const |
Return pointer to alignment errors. More... | |
int | gdetIndex () const |
DetId | geographicalId () const |
The label of this GeomDet. More... | |
GeomDet (Plane *plane) | |
GeomDet (const ReferenceCountingPointer< Plane > &plane) | |
int | index () const |
virtual bool | isLeaf () const |
is a Unit More... | |
const Surface::PositionType & | position () const |
The position (origin of the R.F.) More... | |
const Surface::RotationType & | rotation () const |
The rotation defining the local R.F. More... | |
void | setGdetIndex (int i) |
void | setIndex (int i) |
const Plane & | specificSurface () const |
Same as surface(), kept for backward compatibility. More... | |
const Plane & | surface () const |
The nominal surface of the GeomDet. More... | |
virtual const SurfaceDeformation * | surfaceDeformation () const |
GlobalPoint | toGlobal (const Local2DPoint &lp) const |
Conversion to the global R.F. from the R.F. of the GeomDet. More... | |
GlobalPoint | toGlobal (const Local3DPoint &lp) const |
Conversion to the global R.F. from the R.F. of the GeomDet. More... | |
GlobalVector | toGlobal (const LocalVector &lv) const |
Conversion to the global R.F. from the R.F. of the GeomDet. More... | |
LocalPoint | toLocal (const GlobalPoint &gp) const |
Conversion to the R.F. of the GeomDet. More... | |
LocalVector | toLocal (const GlobalVector &gv) const |
Conversion to the R.F. of the GeomDet. More... | |
virtual const Topology & | topology () const |
virtual const GeomDetType & | type () const |
virtual | ~GeomDet () |
Private Attributes | |
RPCDetId | theId |
std::vector< const RPCRoll * > | theRolls |
Additional Inherited Members | |
Public Types inherited from GeomDet | |
using | SubDetector = GeomDetEnumerators::SubDetector |
Protected Member Functions inherited from GeomDet | |
void | setDetId (DetId id) |
Protected Attributes inherited from GeomDet | |
AlignmentPositionError * | theAlignmentPositionError = 0 |
Model of a RPC chamber.
A chamber is a GeomDet. The chamber is composed by 2 or 3 Roll (GeomDetUnit).
Definition at line 19 of file RPCChamber.h.
RPCChamber::RPCChamber | ( | RPCDetId | id, |
const ReferenceCountingPointer< BoundPlane > & | plane | ||
) |
|
virtual |
void RPCChamber::add | ( | RPCRoll * | rl | ) |
Add Roll to the chamber which takes ownership.
Definition at line 48 of file RPCChamber.cc.
References theRolls.
Referenced by RPCGeometryBuilderFromCondDB::build(), RPCGeometryBuilderFromDDD::buildGeometry(), counter.Counter::register(), and subDetector().
Return the sub-component (roll) with a given id in this chamber.
Reimplemented from GeomDet.
Definition at line 62 of file RPCChamber.cc.
References roll().
Referenced by subDetector().
|
virtual |
Return the rolls in the chamber.
Reimplemented from GeomDet.
Definition at line 55 of file RPCChamber.cc.
References theRolls.
Referenced by subDetector().
RPCDetId RPCChamber::id | ( | void | ) | const |
Return the RPCChamberId of this chamber.
Definition at line 33 of file RPCChamber.cc.
References theId.
Referenced by RPCSeedPattern::checkSegment(), and operator==().
int RPCChamber::nrolls | ( | ) | const |
Retunr numbers of rolls.
Definition at line 74 of file RPCChamber.cc.
References theRolls.
Referenced by RPCGeometryServTest::analyze(), and subDetector().
bool RPCChamber::operator== | ( | const RPCChamber & | ch | ) | const |
equal if the id is the same
Definition at line 41 of file RPCChamber.cc.
References id().
Referenced by subDetector().
Return the Roll corresponding to the given id.
Definition at line 80 of file RPCChamber.cc.
References theId.
Referenced by component(), and subDetector().
const RPCRoll * RPCChamber::roll | ( | int | isl | ) | const |
const std::vector< const RPCRoll * > & RPCChamber::rolls | ( | ) | const |
Return the Rolls.
Definition at line 68 of file RPCChamber.cc.
References theRolls.
Referenced by RPCGeometryServTest::analyze(), RPCRecHitValid::bookHistograms(), RPCMonitorDigi::bookHistograms(), RPCEfficiency::bookHistograms(), RPCEfficiencySecond::dqmEndJob(), RPCDqmClient::getRPCdetId(), MuonSimHitProducer::produce(), CSCUpgradeMotherboardLUTGenerator::rpcRollToEtaLimitsLUT(), and subDetector().
|
inlinevirtual |
Which subdetector.
Reimplemented from GeomDet.
Definition at line 30 of file RPCChamber.h.
References add(), component(), components(), nrolls(), operator==(), roll(), rolls(), and GeomDetEnumerators::RPCBarrel.
|
private |
Definition at line 57 of file RPCChamber.h.
|
private |
Definition at line 60 of file RPCChamber.h.
Referenced by add(), components(), nrolls(), roll(), and rolls().