1 #ifndef CSCSegment_CSCSegAlgoRU_h 2 #define CSCSegment_CSCSegAlgoRU_h 27 #include <Math/Functions.h> 28 #include <Math/SVector.h> 29 #include <Math/SMatrix.h> 48 typedef ROOT::Math::SVector<double, 6>
SVector6;
87 std::unique_ptr<CSCSegFit>
sfit =
nullptr;
std::vector< const CSCRecHit2D * >::const_iterator ChamberHitContainerCIt
void baseline(AlgoState &aState, int n_seg_min) const
bool areHitsCloseInR(const AlgoState &aState, const CSCRecHit2D *h1, const CSCRecHit2D *h2) const
Utility functions.
std::vector< CSCSegment > buildSegments(const CSCChamber *aChamber, const ChamberHitContainer &rechits) const
bool replaceHit(AlgoState &aState, const CSCRecHit2D *h, int layer) const
ChamberHitContainer proto_segment
std::unique_ptr< CSCSegFit > sfit
bool isHitNearSegment(const AlgoState &aState, const CSCRecHit2D *h) const
constexpr std::array< uint8_t, layerIndexSize > layer
bool areHitsCloseInGlobalPhi(const AlgoState &aState, const CSCRecHit2D *h1, const CSCRecHit2D *h2) const
void compareProtoSegment(AlgoState &aState, const CSCRecHit2D *h, int layer) const
const CSCChamber * aChamber
float fitX(const AlgoState &aState, SVector6 points, SVector6 errors, int ir, int ir2, float &chi2_str) const
void flagHitsAsUsed(const AlgoState &aState, const ChamberHitContainer &rechitsInChamber, BoolContainer &used) const
float fit_r_phi(const AlgoState &aState, const SVector6 &points, int layer) const
CSCSegAlgoRU(const edm::ParameterSet &ps)
Constructor.
std::vector< const CSCRecHit2D * > ChamberHitContainer
std::vector< bool > BoolContainer
std::vector< int > LayerIndex
void tryAddingHitsToSegment(AlgoState &aState, const ChamberHitContainer &rechitsInChamber, const BoolContainer &used, const LayerIndex &layerIndex, const ChamberHitContainerCIt i1, const ChamberHitContainerCIt i2) const
ROOT::Math::SVector< double, 6 > SVector6
Typedefs.
float phiAtZ(const AlgoState &aState, float z) const
void increaseProtoSegment(AlgoState &aState, const CSCRecHit2D *h, int layer, int chi2_factor) const
std::vector< CSCSegment > run(const CSCChamber *aChamber, const ChamberHitContainer &rechits) override
void updateParameters(AlgoState &aState) const
bool hasHitOnLayer(const AlgoState &aState, int layer) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
~CSCSegAlgoRU() override
Destructor.
bool isSegmentGood(const AlgoState &aState, const ChamberHitContainer &rechitsInChamber) const
bool addHit(AlgoState &aState, const CSCRecHit2D *hit, int layer) const
Utility functions.