Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10452 from cerminar/PCLSiPixelAli_harvesting_74X_…
…target_maxv1 First integration of Pixel Alignment of large structures in PCL (74X)
- Loading branch information
Showing
37 changed files
with
3,056 additions
and
2,293 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -243,4 +243,6 @@ class Alignable | |
|
||
}; | ||
|
||
typedef std::vector<Alignable*> Alignables; | ||
|
||
#endif |
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
9 changes: 0 additions & 9 deletions
9
Alignment/CommonAlignmentAlgorithm/src/AlignmentAlgorithmBase.cc
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
76 changes: 76 additions & 0 deletions
76
Alignment/CommonAlignmentProducer/plugins/LSNumberFilter.cc
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,76 @@ | ||
//#include "FWCore/Framework/interface/Frameworkfwd.h" | ||
#include "FWCore/Framework/interface/EDFilter.h" | ||
|
||
#include "FWCore/Framework/interface/Event.h" | ||
#include "FWCore/Framework/interface/Run.h" | ||
#include "FWCore/Framework/interface/MakerMacros.h" | ||
#include "FWCore/Framework/interface/EventSetup.h" | ||
#include "FWCore/Framework/interface/ESHandle.h" | ||
|
||
#include "FWCore/MessageLogger/interface/MessageLogger.h" | ||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
|
||
|
||
|
||
// | ||
// class declaration | ||
// | ||
|
||
|
||
|
||
class LSNumberFilter : public edm::EDFilter { | ||
public: | ||
explicit LSNumberFilter(const edm::ParameterSet&); | ||
~LSNumberFilter(); | ||
|
||
private: | ||
|
||
virtual void beginJob() override ; | ||
virtual bool filter(edm::Event&, const edm::EventSetup&) override; | ||
virtual void endJob() override ; | ||
|
||
unsigned int minLS; | ||
}; | ||
|
||
|
||
|
||
LSNumberFilter::LSNumberFilter(const edm::ParameterSet& iConfig): | ||
minLS(iConfig.getUntrackedParameter<unsigned>("minLS",21)) | ||
{} | ||
|
||
|
||
LSNumberFilter::~LSNumberFilter() | ||
{ | ||
|
||
// do anything here that needs to be done at desctruction time | ||
// (e.g. close files, deallocate resources etc.) | ||
|
||
} | ||
|
||
|
||
// | ||
// member functions | ||
// | ||
|
||
// ------------ method called on each new Event ------------ | ||
bool LSNumberFilter::filter(edm::Event& iEvent, | ||
const edm::EventSetup& iSetup) { | ||
|
||
if(iEvent.luminosityBlock() < minLS) return false; | ||
|
||
return true; | ||
|
||
} | ||
|
||
// ------------ method called once each job just before starting event loop ------------ | ||
void | ||
LSNumberFilter::beginJob() | ||
{} | ||
|
||
// ------------ method called once each job just after ending the event loop ------------ | ||
void | ||
LSNumberFilter::endJob() { | ||
} | ||
|
||
//define this as a plug-in | ||
DEFINE_FWK_MODULE(LSNumberFilter); |
Oops, something went wrong.