CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
L1TMuonBarrelKalmanSectorProcessor Class Reference

#include <L1TMuonBarrelKalmanSectorProcessor.h>

Public Member Functions

 L1TMuonBarrelKalmanSectorProcessor (const edm::ParameterSet &, int sector)
 
L1MuKBMTrackCollection process (L1TMuonBarrelKalmanAlgo *, const L1MuKBMTCombinedStubRefVector &stubs, int bx)
 
 ~L1TMuonBarrelKalmanSectorProcessor ()
 

Private Attributes

std::vector< L1TMuonBarrelKalmanRegionModuleregions_
 
int sector_
 
int verbose_
 

Detailed Description

Definition at line 10 of file L1TMuonBarrelKalmanSectorProcessor.h.

Constructor & Destructor Documentation

L1TMuonBarrelKalmanSectorProcessor::L1TMuonBarrelKalmanSectorProcessor ( const edm::ParameterSet iConfig,
int  sector 
)

Definition at line 5 of file L1TMuonBarrelKalmanSectorProcessor.cc.

References edm::ParameterSet::getParameter(), regions_, and makeMuonMisalignmentScenario::wheel.

5  :
6  verbose_(iConfig.getParameter<int>("verbose")),
7  sector_(sector)
8 {
9  std::vector<int> wheels = iConfig.getParameter<std::vector<int> >("wheelsToProcess");
10  for (const auto wheel : wheels)
11  regions_.push_back(L1TMuonBarrelKalmanRegionModule(iConfig.getParameter<edm::ParameterSet>("regionSettings"),wheel,sector));
12 }
T getParameter(std::string const &) const
std::vector< L1TMuonBarrelKalmanRegionModule > regions_
L1TMuonBarrelKalmanSectorProcessor::~L1TMuonBarrelKalmanSectorProcessor ( )

Definition at line 16 of file L1TMuonBarrelKalmanSectorProcessor.cc.

16 {}

Member Function Documentation

L1MuKBMTrackCollection L1TMuonBarrelKalmanSectorProcessor::process ( L1TMuonBarrelKalmanAlgo trackMaker,
const L1MuKBMTCombinedStubRefVector stubs,
int  bx 
)

Definition at line 18 of file L1TMuonBarrelKalmanSectorProcessor.cc.

References L1TMuonBarrelKalmanAlgo::cleanAndSort(), MillePedeFileConverter_cfg::out, regions_, and tmp.

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().

18  {
19 
20 
21  L1MuKBMTrackCollection pretracks;
22  for (auto& region: regions_) {
23  L1MuKBMTrackCollection tmp = region.process(trackMaker,stubsAll,bx);
24  if (!tmp.empty())
25  pretracks.insert(pretracks.end(),tmp.begin(),tmp.end());
26  }
27 
28  L1MuKBMTrackCollection out =trackMaker->cleanAndSort(pretracks,3);
29 
30 
31 
32 
33  return out;
34 
35 }
std::vector< L1TMuonBarrelKalmanRegionModule > regions_
L1MuKBMTrackCollection cleanAndSort(const L1MuKBMTrackCollection &, uint)
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
std::vector< L1MuKBMTrack > L1MuKBMTrackCollection
Definition: L1MuKBMTrack.h:14

Member Data Documentation

std::vector<L1TMuonBarrelKalmanRegionModule> L1TMuonBarrelKalmanSectorProcessor::regions_
private
int L1TMuonBarrelKalmanSectorProcessor::sector_
private

Definition at line 18 of file L1TMuonBarrelKalmanSectorProcessor.h.

int L1TMuonBarrelKalmanSectorProcessor::verbose_
private

Definition at line 17 of file L1TMuonBarrelKalmanSectorProcessor.h.