Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:27

0001 #ifndef DetLayers_ForwardRingDiskBuilderFromDet_H
0002 #define DetLayers_ForwardRingDiskBuilderFromDet_H
0003 
0004 /** \class ForwardRingDiskBuilderFromDet
0005  *  As it's name indicates, it's a builder of BoundDisk from a collection of
0006  *  Dets. The disk has the minimal size fully containing all Dets.
0007  *
0008  */
0009 
0010 #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h"
0011 #include "DataFormats/GeometrySurface/interface/BoundDisk.h"
0012 
0013 #include <utility>
0014 #include <vector>
0015 
0016 class Det;
0017 class SimpleDiskBounds;
0018 
0019 class ForwardRingDiskBuilderFromDet {
0020 public:
0021   /// Warning, remember to assign this pointer to a ReferenceCountingPointer!
0022   /// Should be changed to return a ReferenceCountingPointer<BoundDisk>
0023   BoundDisk* operator()(const std::vector<const GeomDet*>& dets) const;
0024 
0025   std::pair<SimpleDiskBounds*, float> computeBounds(const std::vector<const GeomDet*>& dets) const;
0026 };
0027 
0028 #endif