#include <GEMSegmentAlgorithm.h>
Public Types | |
typedef std::vector< const GEMRecHit * > | EnsembleHitContainer |
Typedefs. More... | |
typedef std::vector< EnsembleHitContainer > | ProtoSegments |
Public Types inherited from GEMSegmentAlgorithmBase | |
typedef std::pair< const GEMSuperChamber *, std::map< uint32_t, const GEMEtaPartition * > > | GEMEnsemble |
Public Member Functions | |
GEMSegmentAlgorithm (const edm::ParameterSet &ps) | |
Constructor. More... | |
std::vector< GEMSegment > | run (const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits) override |
~GEMSegmentAlgorithm () override | |
Destructor. More... | |
Public Member Functions inherited from GEMSegmentAlgorithmBase | |
GEMSegmentAlgorithmBase (const edm::ParameterSet &) | |
Constructor. More... | |
virtual std::vector< GEMSegment > | run (const GEMEnsemble &ensemble, const std::vector< const GEMRecHit * > &rechits)=0 |
virtual | ~GEMSegmentAlgorithmBase () |
Destructor. More... | |
Private Member Functions | |
void | buildSegments (const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits, std::vector< GEMSegment > &gemsegs) |
ProtoSegments | chainHits (const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits) |
ProtoSegments | clusterHits (const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits) |
Utility functions. More... | |
bool | isGoodToMerge (const GEMEnsemble &ensemble, const EnsembleHitContainer &newChain, const EnsembleHitContainer &oldChain) |
Private Attributes | |
bool | clusterOnlySameBXRecHits |
bool | debug |
double | dEtaChainBoxMax |
double | dPhiChainBoxMax |
double | dXclusBoxMax |
double | dYclusBoxMax |
int | maxRecHitsInCluster |
unsigned int | minHitsPerSegment |
const std::string | myName |
bool | preClustering |
bool | preClustering_useChaining |
EnsembleHitContainer | proto_segment |
std::unique_ptr< MuonSegFit > | sfit_ |
GEMDetId | theChamberId |
Static Private Attributes | |
static constexpr float | running_max = std::numeric_limits<float>::max() |
This algorithm is very basic no attemp to deal with ambiguities , noise etc. The GEM track segments (actually more correct would be: GEM correlated hits) is built out of the rechits in two GEM layers in GE1/1 or GE2/1 as the GEM Ensabmle .
Definition at line 25 of file GEMSegmentAlgorithm.h.
typedef std::vector<const GEMRecHit*> GEMSegmentAlgorithm::EnsembleHitContainer |
Typedefs.
Definition at line 28 of file GEMSegmentAlgorithm.h.
typedef std::vector<EnsembleHitContainer> GEMSegmentAlgorithm::ProtoSegments |
Definition at line 29 of file GEMSegmentAlgorithm.h.
|
explicit |
Constructor.
Definition at line 25 of file GEMSegmentAlgorithm.cc.
References clusterOnlySameBXRecHits, dEtaChainBoxMax, dPhiChainBoxMax, dXclusBoxMax, dYclusBoxMax, edm::ParameterSet::getParameter(), maxRecHitsInCluster, minHitsPerSegment, preClustering, and preClustering_useChaining.
|
override |
|
private |
Definition at line 322 of file GEMSegmentAlgorithm.cc.
References l1GtPatternGenerator_cfi::bx, GEMRecHit::clone(), runTauDisplay::gp, minHitsPerSegment, proto_segment, HI_PhotonSkim_cff::rechits, GEMRecHit::setPosition(), sfit_, createJobs::tmp, GeomDet::toGlobal(), and GeomDet::toLocal().
Referenced by run().
|
private |
Definition at line 216 of file GEMSegmentAlgorithm.cc.
References mps_fire::end, mps_fire::i, isGoodToMerge(), HI_PhotonSkim_cff::rechits, and InitialStep_cff::seeds.
Referenced by run().
|
private |
Utility functions.
Definition at line 94 of file GEMSegmentAlgorithm.cc.
References dXclusBoxMax, dYclusBoxMax, mps_fire::end, Exception, mps_fire::i, LogDebug, DetId::rawId(), HI_PhotonSkim_cff::rechits, running_max, InitialStep_cff::seeds, findQualityFiles::size, GeomDet::toGlobal(), GeomDet::toLocal(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by run().
|
private |
Definition at line 277 of file GEMSegmentAlgorithm.cc.
References funct::abs(), clusterOnlySameBXRecHits, reco::deltaPhi(), dEtaChainBoxMax, dPhiChainBoxMax, PV3DBase< T, PVType, FrameType >::eta(), PV3DBase< T, PVType, FrameType >::phi(), edm::second(), and GeomDet::toGlobal().
Referenced by chainHits().
|
override |
Build segments for all desired groups of hits
Definition at line 57 of file GEMSegmentAlgorithm.cc.
References buildSegments(), chainHits(), clusterHits(), preClustering, preClustering_useChaining, and HI_PhotonSkim_cff::rechits.
|
private |
Definition at line 72 of file GEMSegmentAlgorithm.h.
Referenced by GEMSegmentAlgorithm(), and isGoodToMerge().
|
private |
Definition at line 63 of file GEMSegmentAlgorithm.h.
Referenced by runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 70 of file GEMSegmentAlgorithm.h.
Referenced by GEMSegmentAlgorithm(), and isGoodToMerge().
|
private |
Definition at line 69 of file GEMSegmentAlgorithm.h.
Referenced by GEMSegmentAlgorithm(), and isGoodToMerge().
|
private |
Definition at line 66 of file GEMSegmentAlgorithm.h.
Referenced by clusterHits(), and GEMSegmentAlgorithm().
|
private |
Definition at line 67 of file GEMSegmentAlgorithm.h.
Referenced by clusterHits(), and GEMSegmentAlgorithm().
|
private |
Definition at line 71 of file GEMSegmentAlgorithm.h.
Referenced by GEMSegmentAlgorithm().
|
private |
Definition at line 64 of file GEMSegmentAlgorithm.h.
Referenced by buildSegments(), and GEMSegmentAlgorithm().
|
private |
Definition at line 60 of file GEMSegmentAlgorithm.h.
|
private |
Definition at line 65 of file GEMSegmentAlgorithm.h.
Referenced by GEMSegmentAlgorithm(), and run().
|
private |
Definition at line 68 of file GEMSegmentAlgorithm.h.
Referenced by GEMSegmentAlgorithm(), and run().
|
private |
Definition at line 74 of file GEMSegmentAlgorithm.h.
Referenced by buildSegments().
|
staticconstexprprivate |
Definition at line 77 of file GEMSegmentAlgorithm.h.
Referenced by clusterHits().
|
private |
Definition at line 78 of file GEMSegmentAlgorithm.h.
Referenced by buildSegments().
|
private |
Definition at line 75 of file GEMSegmentAlgorithm.h.