Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:49

0001 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0002 
0003 #include "Alignment/CommonAlignmentProducer/interface/AlignmentSeedSelector.h"
0004 
0005 // constructor ----------------------------------------------------------------
0006 
0007 AlignmentSeedSelector::AlignmentSeedSelector(const edm::ParameterSet& cfg)
0008     : applySeedNumber(cfg.getParameter<bool>("applySeedNumber")),
0009       minNSeeds(cfg.getParameter<int>("minNSeeds")),
0010       maxNSeeds(cfg.getParameter<int>("maxNSeeds")) {
0011   if (applySeedNumber)
0012     edm::LogInfo("AlignmentSeedSelector") << "apply seedNumber N<=" << minNSeeds;
0013 }
0014 
0015 // destructor -----------------------------------------------------------------
0016 
0017 AlignmentSeedSelector::~AlignmentSeedSelector() {}
0018 
0019 // do selection ---------------------------------------------------------------
0020 
0021 AlignmentSeedSelector::Seeds AlignmentSeedSelector::select(const Seeds& seeds, const edm::Event& evt) const {
0022   Seeds result = seeds;
0023 
0024   // apply minimum/maximum multiplicity requirement (if selected)
0025   if (applySeedNumber) {
0026     if (result.size() < (unsigned int)minNSeeds || result.size() > (unsigned int)maxNSeeds)
0027       result.clear();
0028   }
0029 
0030   return result;
0031 }
0032 
0033 // make basic cuts ------------------------------------------------------------
0034 
0035 /* AlignmentSeedSelector::Seeds 
0036 AlignmentSeedSelector::basicCuts(const Seeds& seeds) const 
0037 {
0038   Seeds result;
0039 
0040   
0041   return result;
0042 }
0043 
0044 //-----------------------------------------------------------------------------
0045 
0046 AlignmentSeedSelector::Seeds 
0047 AlignmentSeedSelector::theNHighestPtSeeds(const Seeds& seeds) const
0048 {
0049  
0050   Seeds result;
0051 
0052 
0053   return result;
0054 }
0055 */