#include <SectorProcessor.h>
Public Types | |
typedef unsigned long long | EventNumber_t |
typedef PatternRecognition::pattern_ref_t | pattern_ref_t |
Public Member Functions | |
void | configure (const GeometryTranslator *tp_geom, const ConditionHelper *cond, const SectorProcessorLUT *lut, PtAssignmentEngine *pt_assign_engine, int verbose, int endcap, int sector, int minBX, int maxBX, int bxWindow, int bxShiftCSC, int bxShiftRPC, int bxShiftGEM, std::string era, const std::vector< int > &zoneBoundaries, int zoneOverlap, bool includeNeighbor, bool duplicateTheta, bool fixZonePhi, bool useNewZones, bool fixME11Edges, const std::vector< std::string > &pattDefinitions, const std::vector< std::string > &symPattDefinitions, bool useSymPatterns, int thetaWindow, int thetaWindowZone0, bool useRPC, bool useSingleHits, bool bugSt2PhDiff, bool bugME11Dupes, bool bugAmbigThetaWin, bool twoStationSameBX, int maxRoadsPerZone, int maxTracks, bool useSecondEarliest, bool bugSameSectorPt0, bool readPtLUTFile, bool fixMode15HighPt, bool bug9BitDPhi, bool bugMode7CLCT, bool bugNegPt, bool bugGMTPhi, bool promoteMode7, int modeQualVer) |
void | configure_by_fw_version (unsigned fw_version) |
void | process (EventNumber_t ievent, const TriggerPrimitiveCollection &muon_primitives, EMTFHitCollection &out_hits, EMTFTrackCollection &out_tracks) const |
void | process_single_bx (int bx, const TriggerPrimitiveCollection &muon_primitives, EMTFHitCollection &out_hits, EMTFTrackCollection &out_tracks, std::deque< EMTFHitCollection > &extended_conv_hits, std::deque< EMTFTrackCollection > &extended_best_track_cands, std::map< pattern_ref_t, int > &patt_lifetime_map) const |
SectorProcessor () | |
~SectorProcessor () | |
Private Attributes | |
bool | bug9BitDPhi_ |
bool | bugAmbigThetaWin_ |
bool | bugGMTPhi_ |
bool | bugME11Dupes_ |
bool | bugMode7CLCT_ |
bool | bugNegPt_ |
bool | bugSameSectorPt0_ |
bool | bugSt2PhDiff_ |
int | bxShiftCSC_ |
int | bxShiftGEM_ |
int | bxShiftRPC_ |
int | bxWindow_ |
const ConditionHelper * | cond_ |
bool | duplicateTheta_ |
int | endcap_ |
std::string | era_ |
bool | fixME11Edges_ |
bool | fixMode15HighPt_ |
bool | fixZonePhi_ |
bool | includeNeighbor_ |
const SectorProcessorLUT * | lut_ |
int | maxBX_ |
int | maxRoadsPerZone_ |
int | maxTracks_ |
int | minBX_ |
int | modeQualVer_ |
std::vector< std::string > | pattDefinitions_ |
bool | promoteMode7_ |
PtAssignmentEngine * | pt_assign_engine_ |
bool | readPtLUTFile_ |
int | sector_ |
std::vector< std::string > | symPattDefinitions_ |
int | thetaWindow_ |
int | thetaWindowZone0_ |
const GeometryTranslator * | tp_geom_ |
bool | twoStationSameBX_ |
bool | useCPPF_ |
bool | useNewZones_ |
bool | useRPC_ |
bool | useSecondEarliest_ |
bool | useSingleHits_ |
bool | useSymPatterns_ |
int | verbose_ |
std::vector< int > | zoneBoundaries_ |
int | zoneOverlap_ |
Definition at line 28 of file SectorProcessor.h.
typedef unsigned long long SectorProcessor::EventNumber_t |
Definition at line 33 of file SectorProcessor.h.
Definition at line 34 of file SectorProcessor.h.
|
explicit |
Definition at line 3 of file SectorProcessor.cc.
SectorProcessor::~SectorProcessor | ( | ) |
Definition at line 5 of file SectorProcessor.cc.
void SectorProcessor::configure | ( | const GeometryTranslator * | tp_geom, |
const ConditionHelper * | cond, | ||
const SectorProcessorLUT * | lut, | ||
PtAssignmentEngine * | pt_assign_engine, | ||
int | verbose, | ||
int | endcap, | ||
int | sector, | ||
int | minBX, | ||
int | maxBX, | ||
int | bxWindow, | ||
int | bxShiftCSC, | ||
int | bxShiftRPC, | ||
int | bxShiftGEM, | ||
std::string | era, | ||
const std::vector< int > & | zoneBoundaries, | ||
int | zoneOverlap, | ||
bool | includeNeighbor, | ||
bool | duplicateTheta, | ||
bool | fixZonePhi, | ||
bool | useNewZones, | ||
bool | fixME11Edges, | ||
const std::vector< std::string > & | pattDefinitions, | ||
const std::vector< std::string > & | symPattDefinitions, | ||
bool | useSymPatterns, | ||
int | thetaWindow, | ||
int | thetaWindowZone0, | ||
bool | useRPC, | ||
bool | useSingleHits, | ||
bool | bugSt2PhDiff, | ||
bool | bugME11Dupes, | ||
bool | bugAmbigThetaWin, | ||
bool | twoStationSameBX, | ||
int | maxRoadsPerZone, | ||
int | maxTracks, | ||
bool | useSecondEarliest, | ||
bool | bugSameSectorPt0, | ||
bool | readPtLUTFile, | ||
bool | fixMode15HighPt, | ||
bool | bug9BitDPhi, | ||
bool | bugMode7CLCT, | ||
bool | bugNegPt, | ||
bool | bugGMTPhi, | ||
bool | promoteMode7, | ||
int | modeQualVer | ||
) |
Definition at line 7 of file SectorProcessor.cc.
References bug9BitDPhi_, bugAmbigThetaWin_, bugGMTPhi_, bugME11Dupes_, bugMode7CLCT_, bugNegPt_, bugSameSectorPt0_, bugSt2PhDiff_, bxShiftCSC_, bxShiftGEM_, bxShiftRPC_, bxWindow_, cond_, duplicateTheta_, makeMuonMisalignmentScenario::endcap, endcap_, era_, fixME11Edges_, fixMode15HighPt_, fixZonePhi_, includeNeighbor_, lut_, emtf::MAX_ENDCAP, emtf::MAX_TRIGSECTOR, simKBmtfStubs_cfi::maxBX, maxBX_, maxRoadsPerZone_, HLT_2018_cff::maxTracks, maxTracks_, emtf::MIN_ENDCAP, emtf::MIN_TRIGSECTOR, simKBmtfStubs_cfi::minBX, minBX_, modeQualVer_, pattDefinitions_, promoteMode7_, pt_assign_engine_, readPtLUTFile_, sector_, symPattDefinitions_, thetaWindow_, thetaWindowZone0_, tp_geom_, twoStationSameBX_, useNewZones_, useRPC_, useSecondEarliest_, useSingleHits_, useSymPatterns_, verbose, verbose_, zoneBoundaries_, and zoneOverlap_.
void SectorProcessor::configure_by_fw_version | ( | unsigned | fw_version | ) |
Settings for 2018 (by default just use settings in simEmtfDigis_cfi.py) ///
Settings for 2017 (by default just use settings in simEmtfDigis_cfi.py) ///
Settings for all of 2016 (following order in simEmtfDigis_cfi.py) ///
Definition at line 133 of file SectorProcessor.cc.
References bug9BitDPhi_, bugAmbigThetaWin_, bugGMTPhi_, bugME11Dupes_, bugMode7CLCT_, bugNegPt_, bugSameSectorPt0_, bugSt2PhDiff_, bxWindow_, gather_cfg::cout, era_, fixME11Edges_, fixMode15HighPt_, fixZonePhi_, maxBX_, modeQualVer_, promoteMode7_, thetaWindow_, thetaWindowZone0_, twoStationSameBX_, useRPC_, useSecondEarliest_, useSymPatterns_, and verbose_.
void SectorProcessor::process | ( | EventNumber_t | ievent, |
const TriggerPrimitiveCollection & | muon_primitives, | ||
EMTFHitCollection & | out_hits, | ||
EMTFTrackCollection & | out_tracks | ||
) | const |
Definition at line 402 of file SectorProcessor.cc.
References l1GtPatternGenerator_cfi::bx, bxWindow_, gather_cfg::cout, endcap_, maxBX_, minBX_, dqmiodumpmetadata::n, process_single_bx(), sector_, findQualityFiles::size, and verbose_.
void SectorProcessor::process_single_bx | ( | int | bx, |
const TriggerPrimitiveCollection & | muon_primitives, | ||
EMTFHitCollection & | out_hits, | ||
EMTFTrackCollection & | out_tracks, | ||
std::deque< EMTFHitCollection > & | extended_conv_hits, | ||
std::deque< EMTFTrackCollection > & | extended_best_track_cands, | ||
std::map< pattern_ref_t, int > & | patt_lifetime_map | ||
) | const |
Definition at line 448 of file SectorProcessor.cc.
References bug9BitDPhi_, bugAmbigThetaWin_, bugGMTPhi_, bugME11Dupes_, bugMode7CLCT_, bugNegPt_, bugSameSectorPt0_, bugSt2PhDiff_, bxShiftCSC_, bxShiftGEM_, bxShiftRPC_, bxWindow_, BestTrackSelection::configure(), SingleHitTrack::configure(), PrimitiveSelection::configure(), AngleCalculation::configure(), PrimitiveConversion::configure(), PtAssignment::configure(), PrimitiveMatching::configure(), PatternRecognition::configure(), duplicateTheta_, endcap_, fixME11Edges_, fixMode15HighPt_, fixZonePhi_, includeNeighbor_, lut_, maxRoadsPerZone_, maxTracks_, PrimitiveSelection::merge(), PrimitiveSelection::merge_no_truncate(), modeQualVer_, pattDefinitions_, SingleHitTrack::process(), BestTrackSelection::process(), AngleCalculation::process(), PrimitiveMatching::process(), PrimitiveSelection::process(), PatternRecognition::process(), PtAssignment::process(), PrimitiveConversion::process(), promoteMode7_, pt_assign_engine_, readPtLUTFile_, sector_, symPattDefinitions_, thetaWindow_, thetaWindowZone0_, tp_geom_, twoStationSameBX_, useNewZones_, useRPC_, useSecondEarliest_, useSingleHits_, useSymPatterns_, verbose_, zoneBoundaries_, and zoneOverlap_.
Referenced by process().
|
private |
Definition at line 139 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 130 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 139 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 130 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 139 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 139 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 135 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 130 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 114 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 114 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 114 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 114 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), process(), and process_single_bx().
|
private |
Definition at line 106 of file SectorProcessor.h.
Referenced by configure().
|
private |
Definition at line 121 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 112 of file SectorProcessor.h.
Referenced by configure(), process(), and process_single_bx().
|
private |
Definition at line 116 of file SectorProcessor.h.
Referenced by configure(), and configure_by_fw_version().
|
private |
Definition at line 121 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 138 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 121 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 121 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 108 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 114 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process().
|
private |
Definition at line 133 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 133 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 114 of file SectorProcessor.h.
Referenced by configure(), and process().
|
private |
Definition at line 140 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 124 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 139 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 110 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 138 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 112 of file SectorProcessor.h.
Referenced by configure(), process(), and process_single_bx().
|
private |
Definition at line 124 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 128 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 128 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 104 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 130 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 129 of file SectorProcessor.h.
|
private |
Definition at line 121 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 129 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 134 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 129 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 125 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 112 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), process(), and process_single_bx().
|
private |
Definition at line 119 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 120 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().