#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 29 of file SectorProcessor.h.
typedef unsigned long long SectorProcessor::EventNumber_t |
Definition at line 34 of file SectorProcessor.h.
Definition at line 35 of file SectorProcessor.h.
|
explicit |
Definition at line 4 of file SectorProcessor.cc.
SectorProcessor::~SectorProcessor | ( | ) |
Definition at line 8 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 12 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_, lumiPlot::lut, lut_, emtf::MAX_ENDCAP, emtf::MAX_TRIGSECTOR, simTrackMatching_cfi::maxBX, maxBX_, maxRoadsPerZone_, RecoTauCombinatoricProducer_cfi::maxTracks, maxTracks_, emtf::MIN_ENDCAP, emtf::MIN_TRIGSECTOR, simTrackMatching_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 99 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 375 of file SectorProcessor.cc.
References bxWindow_, gather_cfg::cout, endcap_, maxBX_, minBX_, gen::n, process_single_bx(), sector_, findQualityFiles::size, and verbose_.
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
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 429 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(), AngleCalculation::process(), BestTrackSelection::process(), PrimitiveSelection::process(), PrimitiveMatching::process(), PtAssignment::process(), PrimitiveConversion::process(), PatternRecognition::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 113 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(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 113 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(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 113 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 113 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 109 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(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 88 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 88 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 88 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 88 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), process(), and process_single_bx().
|
private |
Definition at line 80 of file SectorProcessor.h.
Referenced by configure().
|
private |
Definition at line 95 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 86 of file SectorProcessor.h.
Referenced by configure(), process(), and process_single_bx().
|
private |
Definition at line 90 of file SectorProcessor.h.
Referenced by configure(), and configure_by_fw_version().
|
private |
Definition at line 95 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(), and process_single_bx().
|
private |
Definition at line 95 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 95 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 82 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 88 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process().
|
private |
Definition at line 107 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 107 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 88 of file SectorProcessor.h.
Referenced by configure(), and process().
|
private |
Definition at line 114 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 98 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 113 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 84 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 112 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 86 of file SectorProcessor.h.
Referenced by configure(), process(), and process_single_bx().
|
private |
Definition at line 98 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 102 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 102 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 78 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 104 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 103 of file SectorProcessor.h.
|
private |
Definition at line 95 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 103 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 108 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 103 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 99 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), and process_single_bx().
|
private |
Definition at line 86 of file SectorProcessor.h.
Referenced by configure(), configure_by_fw_version(), process(), and process_single_bx().
|
private |
Definition at line 93 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().
|
private |
Definition at line 94 of file SectorProcessor.h.
Referenced by configure(), and process_single_bx().