-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GoldenPatternVec = std::vector<std::unique_ptr<GoldenPatternType> >
OMTFReconstruction::beginRun modified to adapted to the GoldenPatternVec and other changes added calss EmulationObserverBase PatternOptimizerBase::observeProcesorEmulation and findSimMuon moved there DataROOTDumper2 inherits from EmulationObserverBase, removing omtfGpResultsPdfSum and omtfGpResultsFiredLayers from OmtfEvent, removing gpResultsToPt removing DataROOTDumper EventCapture - goldenPatterns is pointer now removed OMTFSorterWithThreshold removed PatternsPtAssignment ProcessorBase<GoldenPatternType>::setGPs removed, code moved to constructor
- Loading branch information
Karol Bunkowski
committed
Aug 24, 2021
1 parent
70ff9c2
commit e53dc5a
Showing
33 changed files
with
334 additions
and
826 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/OMTFSorterWithThreshold.h
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 0 additions & 66 deletions
66
L1Trigger/L1TMuonOverlapPhase1/interface/Tools/DataROOTDumper.h
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
L1Trigger/L1TMuonOverlapPhase1/interface/Tools/EmulationObserverBase.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* EmulationObserverBase.h | ||
* | ||
* Created on: Aug 18, 2021 | ||
* Author: kbunkow | ||
*/ | ||
|
||
#ifndef L1T_OmtfP1_TOOLS_EMULATIONOBSERVERBASE_H_ | ||
#define L1T_OmtfP1_TOOLS_EMULATIONOBSERVERBASE_H_ | ||
|
||
#include "L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/IOMTFEmulationObserver.h" | ||
|
||
#include "FWCore/Framework/interface/Event.h" | ||
#include "FWCore/Framework/interface/EventSetup.h" | ||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
#include "SimDataFormats/Track/interface/SimTrackContainer.h" | ||
|
||
class EmulationObserverBase : public IOMTFEmulationObserver { | ||
public: | ||
EmulationObserverBase(const edm::ParameterSet& edmCfg, const OMTFConfiguration* omtfConfig); | ||
|
||
virtual ~EmulationObserverBase(); | ||
|
||
void observeProcesorEmulation(unsigned int iProcessor, | ||
l1t::tftype mtfType, | ||
const std::shared_ptr<OMTFinput>& input, | ||
const AlgoMuons& algoCandidates, | ||
const AlgoMuons& gbCandidates, | ||
const std::vector<l1t::RegionalMuonCand>& candMuons) override; | ||
|
||
void observeEventBegin(const edm::Event& iEvent) override; | ||
|
||
//void observeEventEnd(const edm::Event& iEvent, | ||
// std::unique_ptr<l1t::RegionalMuonCandBxCollection>& finalCandidates) override; | ||
|
||
//void endJob() override; | ||
|
||
const SimTrack* findSimMuon(const edm::Event& event, const SimTrack* previous = nullptr); | ||
|
||
protected: | ||
edm::ParameterSet edmCfg; | ||
const OMTFConfiguration* omtfConfig; | ||
|
||
const SimTrack* simMuon = nullptr; | ||
|
||
//candidate found by omtf in a given event | ||
AlgoMuons::value_type omtfCand; | ||
|
||
l1t::RegionalMuonCand regionalMuonCand; | ||
|
||
//AlgoMuons algoCandidates; | ||
|
||
unsigned int candProcIndx = 0; | ||
}; | ||
|
||
#endif /* INTERFACE_TOOLS_EMULATIONOBSERVERBASE_H_ */ |
Oops, something went wrong.