#include <ME0SegAlgoMM.h>
Public Types | |
typedef std::vector< const ME0RecHit * > | EnsembleHitContainer |
Typedefs. More... | |
typedef std::vector < EnsembleHitContainer > | ProtoSegments |
Public Types inherited from ME0SegmentAlgorithm | |
typedef std::pair< const ME0EtaPartition *, std::map < uint32_t, const ME0EtaPartition * > > | ME0Ensemble |
Public Member Functions | |
ME0SegAlgoMM (const edm::ParameterSet &ps) | |
Constructor. More... | |
std::vector< ME0Segment > | run (const ME0Ensemble &ensemble, const EnsembleHitContainer &rechits) |
virtual | ~ME0SegAlgoMM () |
Destructor. More... | |
Public Member Functions inherited from ME0SegmentAlgorithm | |
ME0SegmentAlgorithm (const edm::ParameterSet &) | |
Constructor. More... | |
virtual std::vector< ME0Segment > | run (const ME0Ensemble &ensemble, const std::vector< const ME0RecHit * > &rechits)=0 |
virtual | ~ME0SegmentAlgorithm () |
Destructor. More... | |
Private Member Functions | |
std::vector< ME0Segment > | buildSegments (const EnsembleHitContainer &rechits) |
ProtoSegments | chainHits (const EnsembleHitContainer &rechits) |
ProtoSegments | clusterHits (const EnsembleHitContainer &rechits) |
Utility functions. More... | |
bool | isGoodToMerge (const EnsembleHitContainer &newChain, const EnsembleHitContainer &oldChain) |
Private Attributes | |
bool | debug |
double | dEtaChainBoxMax |
double | dPhiChainBoxMax |
double | dTimeChainBoxMax |
double | dXclusBoxMax |
double | dYclusBoxMax |
int | maxRecHitsInCluster |
unsigned int | minHitsPerSegment |
const std::string | myName |
bool | preClustering |
bool | preClustering_useChaining |
EnsembleHitContainer | proto_segment |
std::unique_ptr< ME0SegFit > | sfit_ |
ME0Ensemble | theEnsemble |
Static Private Attributes | |
static float | running_max =999999. |
This algorithm is very basic no attemp to deal with ambiguities , noise etc. The ME0 track segments is built out of the rechit's in a the 6 ME0 Layer denoted as the ME0 Ensabmle .
Definition at line 24 of file ME0SegAlgoMM.h.
typedef std::vector<const ME0RecHit*> ME0SegAlgoMM::EnsembleHitContainer |
Typedefs.
Definition at line 30 of file ME0SegAlgoMM.h.
typedef std::vector<EnsembleHitContainer> ME0SegAlgoMM::ProtoSegments |
Definition at line 31 of file ME0SegAlgoMM.h.
|
explicit |
Constructor.
Definition at line 25 of file ME0SegAlgoMM.cc.
References debug, dEtaChainBoxMax, dPhiChainBoxMax, dTimeChainBoxMax, dXclusBoxMax, dYclusBoxMax, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), maxRecHitsInCluster, minHitsPerSegment, preClustering, and preClustering_useChaining.
|
virtual |
|
private |
Definition at line 323 of file ME0SegAlgoMM.cc.
References minHitsPerSegment, funct::pow(), proto_segment, sfit_, mathSSE::sqrt(), theEnsemble, and tmp.
Referenced by run().
|
private |
Definition at line 204 of file ME0SegAlgoMM.cc.
References begin, end, i, isGoodToMerge(), and groupFilesInBlocks::temp.
Referenced by run().
|
private |
Utility functions.
Definition at line 104 of file ME0SegAlgoMM.cc.
References begin, dXclusBoxMax, dYclusBoxMax, end, i, LogDebug, running_max, findQualityFiles::size, groupFilesInBlocks::temp, x, and y.
Referenced by run().
|
private |
Definition at line 271 of file ME0SegAlgoMM.cc.
References funct::abs(), reco::deltaPhi(), dEtaChainBoxMax, dPhiChainBoxMax, dTimeChainBoxMax, PV3DBase< T, PVType, FrameType >::eta(), PV3DBase< T, PVType, FrameType >::phi(), and theEnsemble.
Referenced by chainHits().
std::vector< ME0Segment > ME0SegAlgoMM::run | ( | const ME0Ensemble & | ensemble, |
const EnsembleHitContainer & | rechits | ||
) |
Build segments for all desired groups of hits
Definition at line 51 of file ME0SegAlgoMM.cc.
References buildSegments(), chainHits(), clusterHits(), preClustering, preClustering_useChaining, and theEnsemble.
|
private |
Definition at line 63 of file ME0SegAlgoMM.h.
Referenced by ME0SegAlgoMM().
|
private |
Definition at line 70 of file ME0SegAlgoMM.h.
Referenced by isGoodToMerge(), and ME0SegAlgoMM().
|
private |
Definition at line 69 of file ME0SegAlgoMM.h.
Referenced by isGoodToMerge(), and ME0SegAlgoMM().
|
private |
Definition at line 71 of file ME0SegAlgoMM.h.
Referenced by isGoodToMerge(), and ME0SegAlgoMM().
|
private |
Definition at line 66 of file ME0SegAlgoMM.h.
Referenced by clusterHits(), and ME0SegAlgoMM().
|
private |
Definition at line 67 of file ME0SegAlgoMM.h.
Referenced by clusterHits(), and ME0SegAlgoMM().
|
private |
Definition at line 72 of file ME0SegAlgoMM.h.
Referenced by ME0SegAlgoMM().
|
private |
Definition at line 64 of file ME0SegAlgoMM.h.
Referenced by buildSegments(), and ME0SegAlgoMM().
|
private |
Definition at line 59 of file ME0SegAlgoMM.h.
|
private |
Definition at line 65 of file ME0SegAlgoMM.h.
Referenced by ME0SegAlgoMM(), and run().
|
private |
Definition at line 68 of file ME0SegAlgoMM.h.
Referenced by ME0SegAlgoMM(), and run().
|
private |
Definition at line 75 of file ME0SegAlgoMM.h.
Referenced by buildSegments().
|
staticprivate |
Definition at line 78 of file ME0SegAlgoMM.h.
Referenced by clusterHits().
|
private |
Definition at line 79 of file ME0SegAlgoMM.h.
Referenced by buildSegments().
|
private |
Definition at line 76 of file ME0SegAlgoMM.h.
Referenced by buildSegments(), isGoodToMerge(), and run().