#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 * | alignmentPositionError () const |
Return pointer to alignment errors. More... | |
DetId | geographicalId () const |
The label of this GeomDet. More... | |
GeomDet (Plane *plane) | |
GeomDet (const ReferenceCountingPointer< Plane > &plane) | |
int | index () const |
LocalError const & | localAlignmentError () const |
Return local alligment error. 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 | 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... | |
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 | ~GeomDet () |
Private Attributes | |
RPCDetId | theId |
std::vector< const RPCRoll * > | theRolls |
Additional Inherited Members | |
Public Types inherited from GeomDet | |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Protected Member Functions inherited from GeomDet | |
void | setDetId (DetId id) |
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(), and RPCGeometryBuilderFromDDD::buildGeometry().
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(), and RPCDetId.
|
virtual |
Return the rolls in the chamber.
Implements GeomDet.
Definition at line 55 of file RPCChamber.cc.
References theRolls.
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().
bool RPCChamber::operator== | ( | const RPCChamber & | ch | ) | const |
equal if the id is the same
Definition at line 41 of file RPCChamber.cc.
References id().
Return the Roll corresponding to the given id.
Definition at line 80 of file RPCChamber.cc.
References theId.
Referenced by component().
const RPCRoll * RPCChamber::roll | ( | int | isl | ) | const |
Definition at line 88 of file RPCChamber.cc.
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(), RPCDBPopConAnalyzer::analyze(), RPCRecHitValid::beginRun(), RPCMonitorDigi::beginRun(), RPCEfficiency::beginRun(), RPCEfficiencySecond::endRun(), rpcdqmclient::clientTools::getMEs(), RPCDqmClient::getMonitorElements(), RPCSynchronizer::getSimHitBx(), ObjectMap::ObjectMap(), ObjectMap2::ObjectMap2(), ObjectMap2CSC::ObjectMap2CSC(), ObjectMapCSC::ObjectMapCSC(), and MuonSimHitProducer::produce().
|
inlinevirtual |
Which subdetector.
Implements GeomDet.
Definition at line 30 of file RPCChamber.h.
References 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().