1 #ifndef CSCSegment_CSCSegAlgoSK_h 2 #define CSCSegment_CSCSegAlgoSK_h 72 std::vector<CSCSegment>
run(
const CSCChamber* aChamber,
const ChamberHitContainer& rechits)
override;
85 void dumpHits(
const ChamberHitContainer& rechits)
const;
91 const BoolContainer& used,
92 const LayerIndex& layerIndex,
93 const ChamberHitContainerCIt
i1,
94 const ChamberHitContainerCIt
i2);
100 bool isSegmentGood(
const ChamberHitContainer& rechitsInChamber)
const;
105 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
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
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