#include <DTGeometryBuilderFromCondDB.h>
|
DTChamber * | buildChamber (const DetId &id, const RecoIdealGeometry &rig, size_t idt) const |
|
DTLayer * | buildLayer (DTSuperLayer *sl, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const |
|
DTSuperLayer * | buildSuperLayer (DTChamber *chamber, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const |
|
RCPPlane | plane (const std::vector< double >::const_iterator tranStart, const std::vector< double >::const_iterator rotStart, Bounds *bounds) const |
|
Description:
detailed description
- Author
- : Stefano Lacaprara - INFN LNL stefa.nosp@m.no.l.nosp@m.acapr.nosp@m.ara@.nosp@m.pd.in.nosp@m.fn.i.nosp@m.t $date : 19/11/2008 19:14:24 CET $
Modification:
Definition at line 36 of file DTGeometryBuilderFromCondDB.h.
DTGeometryBuilderFromCondDB::DTGeometryBuilderFromCondDB |
( |
| ) |
|
DTGeometryBuilderFromCondDB::~DTGeometryBuilderFromCondDB |
( |
| ) |
|
|
virtual |
Definition at line 42 of file DTGeometryBuilderFromCondDB.cc.
References gather_cfg::cout, RecoIdealGeometry::detIds(), and RecoIdealGeometry::shapeStart().
Referenced by DTGeometryESModule::dbGeometryCallback_().
45 const std::vector<DetId>& detids(rig.
detIds());
51 while(idt < detids.size()) {
56 if (chamber) theGeometry->add(chamber);
72 theGeometry->add(lay);
74 cout <<
"What is this?" << endl;
78 if (chamber) theGeometry->add(chamber);
DTChamber * buildChamber(const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
const std::vector< DetId > & detIds() const
DTLayer * buildLayer(DTSuperLayer *sl, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
std::vector< double >::const_iterator shapeStart(size_t ind) const
DTSuperLayer * buildSuperLayer(DTChamber *chamber, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
Definition at line 125 of file DTGeometryBuilderFromCondDB.cc.
References DTSuperLayer::add(), RecoIdealGeometry::rotStart(), RecoIdealGeometry::shapeStart(), RecoIdealGeometry::tranStart(), and create_public_lumi_plots::width.
134 float length = (*(rig.
shapeStart(idt) + 2))/cm;
135 float thickness = (*(rig.
shapeStart(idt) + 3))/cm;
141 int firstWire=int(*(rig.
shapeStart(idt) + 4 ));
142 int WCounter=int(*(rig.
shapeStart(idt) + 5 ));
143 double sensibleLenght=(*(rig.
shapeStart(idt) + 6 ))/cm;
144 DTTopology topology(firstWire, WCounter, sensibleLenght);
148 DTLayer* layer =
new DTLayer(layId, surf, topology, layerType, sl);
std::vector< double >::const_iterator rotStart(size_t ind) const
void add(DTLayer *l)
Add layer to the SL which owns it.
ReferenceCountingPointer< Plane > RCPPlane
std::vector< double >::const_iterator tranStart(size_t ind) const
std::vector< double >::const_iterator shapeStart(size_t ind) const
RCPPlane plane(const std::vector< double >::const_iterator tranStart, const std::vector< double >::const_iterator rotStart, Bounds *bounds) const
Definition at line 156 of file DTGeometryBuilderFromCondDB.cc.
163 *(rotStart+3), *(rotStart+4), *(rotStart+5),
164 *(rotStart+6), *(rotStart+7), *(rotStart+8) );
ReferenceCountingPointer< Plane > RCPPlane