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