CMS 3D CMS Logo

BarrelDetLayer.h
Go to the documentation of this file.
1 #ifndef DetLayers_BarrelDetLayer_H
2 #define DetLayers_BarrelDetLayer_H
3 
15 
18 
19 #include <vector>
20 #include <algorithm>
21 
22 class BarrelDetLayer : public DetLayer {
23 public:
24  BarrelDetLayer(bool doHaveGroup) : DetLayer(doHaveGroup, true), theCylinder(nullptr) {}
25 
26  ~BarrelDetLayer() override;
27 
29  const BoundSurface& surface() const final { return *theCylinder; }
30 
31  std::pair<bool, TrajectoryStateOnSurface> compatible(const TrajectoryStateOnSurface& ts,
32  const Propagator&,
33  const MeasurementEstimator&) const final;
34 
37 
39  virtual const BoundCylinder& specificSurface() const final { return *theCylinder; }
40 
41  bool contains(const Local3DPoint& p) const;
42 
43 protected:
44  virtual void initialize();
45 
47  virtual BoundCylinder* computeSurface();
48 
49  SimpleCylinderBounds const& bounds() const { return static_cast<SimpleCylinderBounds const&>(theCylinder->bounds()); }
50 
51 private:
52  //float theRmin, theRmax, theZmin, theZmax;
54 };
55 
56 #endif
MeasurementEstimator
Definition: MeasurementEstimator.h:19
BarrelDetLayer::computeSurface
virtual BoundCylinder * computeSurface()
Definition: BarrelDetLayer.cc:21
DetLayer
Definition: DetLayer.h:21
BarrelDetLayer::BarrelDetLayer
BarrelDetLayer(bool doHaveGroup)
Definition: BarrelDetLayer.h:24
BarrelDetLayer::surface
const BoundSurface & surface() const final
GeometricSearchDet interface.
Definition: BarrelDetLayer.h:29
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
BarrelDetLayer::~BarrelDetLayer
~BarrelDetLayer() override
Definition: BarrelDetLayer.cc:11
BarrelDetLayer::initialize
virtual void initialize()
Definition: BarrelDetLayer.cc:18
BarrelDetLayer::theCylinder
ReferenceCountingPointer< BoundCylinder > theCylinder
Definition: BarrelDetLayer.h:53
Surface
Definition: Surface.h:36
hgcal_conditions::parameters
Definition: HGCConditions.h:86
ReferenceCountingPointer< BoundCylinder >
BoundCylinder.h
watchdog.const
const
Definition: watchdog.py:83
GeomDetEnumerators::barrel
Definition: GeomDetEnumerators.h:9
SimpleCylinderBounds
Definition: SimpleCylinderBounds.h:19
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
BarrelDetLayer::compatible
std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const final
Definition: BarrelDetLayer.cc:58
BarrelDetLayer::contains
bool contains(const Local3DPoint &p) const
Definition: BarrelDetLayer.cc:16
Point3DBase< float, LocalTag >
funct::true
true
Definition: Factorize.h:173
BarrelDetLayer
Definition: BarrelDetLayer.h:22
BarrelDetLayer::location
Location location() const final
DetLayer interface.
Definition: BarrelDetLayer.h:36
ReferenceCounted.h
GeomDetEnumerators::Location
Location
Definition: GeomDetEnumerators.h:9
BarrelDetLayer::setSurface
void setSurface(BoundCylinder *cp)
Definition: BarrelDetLayer.cc:14
DetLayer.h
BoundCylinder
BarrelDetLayer::specificSurface
virtual const BoundCylinder & specificSurface() const final
Extension of the interface.
Definition: BarrelDetLayer.h:39
BarrelDetLayer::bounds
SimpleCylinderBounds const & bounds() const
Definition: BarrelDetLayer.h:49