1 #ifndef CSCSegment_CSCSegAlgoTC_h 2 #define CSCSegment_CSCSegAlgoTC_h 63 std::vector<CSCSegment>
run(
const CSCChamber* aChamber,
const ChamberHitContainer& rechits)
override;
97 void dumpHits(
const ChamberHitContainer& rechits)
const;
103 const ChamberHitContainerCIt i1,
104 const ChamberHitContainerCIt i2);
112 const ChamberHitContainer& rechitsInChamber,
113 BoolContainer& used)
const;
119 const ChamberHitContainer& rechitsInChamber, BoolContainer& used)
const;
void dumpSegment(const CSCSegment &seg) const
void compareProtoSegment(const CSCRecHit2D *h, int layer)
std::deque< bool > BoolContainer
bool isSegmentGood(std::vector< CSCSegFit * >::iterator is, const ChamberHitContainer &rechitsInChamber, BoolContainer &used) const
float phiAtZ(float z) const
std::vector< CSCSegment > buildSegments(const ChamberHitContainer &rechits)
bool areHitsCloseInLocalX(const CSCRecHit2D *h1, const CSCRecHit2D *h2) const
bool isHitNearSegment(const CSCRecHit2D *h) const
std::vector< CSCSegment > run(const CSCChamber *aChamber, const ChamberHitContainer &rechits) override
void dumpHits(const ChamberHitContainer &rechits) const
~CSCSegAlgoTC() override
Destructor.
void updateParameters(void)
bool areHitsCloseInGlobalPhi(const CSCRecHit2D *h1, const CSCRecHit2D *h2) const
bool addHit(const CSCRecHit2D *aHit, int layer)
Utility functions.
void flagHitsAsUsed(std::vector< CSCSegFit * >::iterator is, const ChamberHitContainer &rechitsInChamber, BoolContainer &used) const
const CSCChamber * theChamber
Member variables.
std::vector< CSCSegFit * > candidates
ChamberHitContainer proto_segment
std::vector< const CSCRecHit2D * > ChamberHitContainer
void tryAddingHitsToSegment(const ChamberHitContainer &rechits, const ChamberHitContainerCIt i1, const ChamberHitContainerCIt i2)
bool hasHitOnLayer(int layer) const
std::vector< int > LayerIndex
Typedefs.
ChamberHitContainer::const_iterator ChamberHitContainerCIt
void increaseProtoSegment(const CSCRecHit2D *h, int layer)
void pruneTheSegments(const ChamberHitContainer &rechitsInChamber)
bool replaceHit(const CSCRecHit2D *h, int layer)
CSCSegAlgoTC(const edm::ParameterSet &ps)
Constructor.