Go to the documentation of this file. 1 #ifndef CSCSegment_CSCSegAlgoSK_h
2 #define CSCSegment_CSCSegAlgoSK_h
bool addHit(const CSCRecHit2D *hit, int layer)
Utility functions.
void flagHitsAsUsed(const ChamberHitContainer &rechitsInChamber, BoolContainer &used) const
std::vector< const CSCRecHit2D * > ChamberHitContainer
bool isHitNearSegment(const CSCRecHit2D *h) const
std::vector< const CSCRecHit2D * >::const_iterator ChamberHitContainerCIt
const CSCChamber * theChamber
void dumpHits(const ChamberHitContainer &rechits) const
CSCSegAlgoSK(const edm::ParameterSet &ps)
Constructor.
void dumpSegment(const CSCSegment &seg) const
bool isSegmentGood(const ChamberHitContainer &rechitsInChamber) const
void compareProtoSegment(const CSCRecHit2D *h, int layer)
std::deque< bool > BoolContainer
constexpr std::array< uint8_t, layerIndexSize > layer
std::vector< int > LayerIndex
Typedefs.
~CSCSegAlgoSK() override
Destructor.
std::vector< CSCSegment > run(const CSCChamber *aChamber, const ChamberHitContainer &rechits) override
void updateParameters(void)
bool areHitsCloseInGlobalPhi(const CSCRecHit2D *h1, const CSCRecHit2D *h2) const
void tryAddingHitsToSegment(const ChamberHitContainer &rechitsInChamber, const BoolContainer &used, const LayerIndex &layerIndex, const ChamberHitContainerCIt i1, const ChamberHitContainerCIt i2)
bool replaceHit(const CSCRecHit2D *h, int layer)
std::vector< CSCSegment > buildSegments(const ChamberHitContainer &rechits)
void increaseProtoSegment(const CSCRecHit2D *h, int layer)
ChamberHitContainer proto_segment
bool areHitsCloseInLocalX(const CSCRecHit2D *h1, const CSCRecHit2D *h2) const
Utility functions.
float phiAtZ(float z) const
bool hasHitOnLayer(int layer) const