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::L1TMuonBarrelKalmanTrackFinder ( const edm::ParameterSet iConfig)

◆ ~L1TMuonBarrelKalmanTrackFinder()

L1TMuonBarrelKalmanTrackFinder::~L1TMuonBarrelKalmanTrackFinder ( )

Definition at line 11 of file L1TMuonBarrelKalmanTrackFinder.cc.

11 {}

Member Function Documentation

◆ process()

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

Definition at line 13 of file L1TMuonBarrelKalmanTrackFinder.cc.

References l1GtPatternGenerator_cfi::bx, createfilelist::int, hgcalTBTopologyTester_cfi::sector, sectors_, createJobs::tmp, and verbose_.

Referenced by L1TMuonBarrelKalmanTrackProducer::produce().

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

Member Data Documentation

◆ sectors_

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

Definition at line 19 of file L1TMuonBarrelKalmanTrackFinder.h.

Referenced by L1TMuonBarrelKalmanTrackFinder(), and process().

◆ verbose_

int L1TMuonBarrelKalmanTrackFinder::verbose_
private

Definition at line 18 of file L1TMuonBarrelKalmanTrackFinder.h.

Referenced by process().