CMS 3D CMS Logo

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

#include <L1TMuonBarrelKalmanTrackFinder.h>

Public Member Functions

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

Private Attributes

std::vector< L1TMuonBarrelKalmanSectorProcessorsectors_
 
int verbose_
 

Detailed Description

Definition at line 10 of file L1TMuonBarrelKalmanTrackFinder.h.

Constructor & Destructor Documentation

L1TMuonBarrelKalmanTrackFinder::L1TMuonBarrelKalmanTrackFinder ( const edm::ParameterSet iConfig)

Definition at line 5 of file L1TMuonBarrelKalmanTrackFinder.cc.

References edm::ParameterSet::getParameter(), and sectors_.

5  :
6  verbose_(iConfig.getParameter<int>("verbose"))
7 {
8  std::vector<int> sectors = iConfig.getParameter<std::vector<int> >("sectorsToProcess");
9  for (const auto sector : sectors)
10  sectors_.push_back(L1TMuonBarrelKalmanSectorProcessor(iConfig.getParameter<edm::ParameterSet>("sectorSettings"),sector));
11 }
T getParameter(std::string const &) const
std::vector< L1TMuonBarrelKalmanSectorProcessor > sectors_
L1TMuonBarrelKalmanTrackFinder::~L1TMuonBarrelKalmanTrackFinder ( )

Definition at line 15 of file L1TMuonBarrelKalmanTrackFinder.cc.

15 {}

Member Function Documentation

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

Definition at line 17 of file L1TMuonBarrelKalmanTrackFinder.cc.

References createfilelist::int, sectors_, tmp, 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().

17  {
18 
19 
20  L1MuKBMTrackCollection pretracks;
21  for (auto& sector: sectors_) {
22  L1MuKBMTrackCollection tmp = sector.process(trackMaker,stubsAll,bx);
23  if (!tmp.empty())
24  pretracks.insert(pretracks.end(),tmp.begin(),tmp.end());
25  }
26  if (verbose_) {
27  printf(" -----Track Finder Kalman Tracks (Uncleaned!)-----\n");
28  for (const auto& track1 :pretracks)
29  printf("Kalman Track charge=%d pt=%f eta=%f phi=%f curvature=%d curvature STA =%d stubs=%d chi2=%d pts=%f %f\n",track1.charge(),track1.pt(),track1.eta(),track1.phi(),track1.curvatureAtVertex(),track1.curvatureAtMuon(),int(track1.stubs().size()),track1.approxChi2(),track1.pt(),track1.ptUnconstrained());
30  }
31  return pretracks;
32 
33 }
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
std::vector< L1MuKBMTrack > L1MuKBMTrackCollection
Definition: L1MuKBMTrack.h:14
std::vector< L1TMuonBarrelKalmanSectorProcessor > sectors_

Member Data Documentation

std::vector<L1TMuonBarrelKalmanSectorProcessor> L1TMuonBarrelKalmanTrackFinder::sectors_
private

Definition at line 18 of file L1TMuonBarrelKalmanTrackFinder.h.

Referenced by L1TMuonBarrelKalmanTrackFinder(), and process().

int L1TMuonBarrelKalmanTrackFinder::verbose_
private

Definition at line 17 of file L1TMuonBarrelKalmanTrackFinder.h.

Referenced by process().