Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTracker
SiTrackerMRHTools
interface
MeasurementByLayerGrouper.h
Go to the documentation of this file.
1
#ifndef SiTrackerMRHTools_MeasurementByLayerGrouper_H
2
#define SiTrackerMRHTools_MeasurementByLayerGrouper_H
3
4
class
DetLayer
;
5
class
TrajectoryMeasurement
;
6
class
GeometricSearchTracker
;
7
8
#include <vector>
9
#include <map>
10
11
//groups the TrajectoryMeasurements on a layer by layer basis
12
13
class
MeasurementByLayerGrouper
{
14
15
private
:
16
17
typedef
TrajectoryMeasurement
TM
;
18
const
GeometricSearchTracker
*
theGeomSearch
;
19
20
const
DetLayer
*
getDetLayer
(
const
TM
& tm)
const
;
21
22
public
:
23
24
explicit
MeasurementByLayerGrouper
(
const
GeometricSearchTracker
*
search
= 0):
theGeomSearch
(
search
){};
25
26
std::vector<std::pair<const DetLayer*, std::vector<TM> > >
operator()
(
const
std::vector<TM>&)
const
;
27
28
29
//to be ported later if needed
30
/*
31
vector<TM>
32
operator()(const vector<pair<const DetLayer*, vector<TM> > >&) const;
33
34
vector<pair<const DetLayer*, map<int, vector<TrajectoryMeasurement> > > >
35
operator()(const map<int, vector<TM> >&) const;
36
*/
37
38
};
39
#endif
MeasurementByLayerGrouper::MeasurementByLayerGrouper
MeasurementByLayerGrouper(const GeometricSearchTracker *search=0)
Definition:
MeasurementByLayerGrouper.h:24
MeasurementByLayerGrouper
Definition:
MeasurementByLayerGrouper.h:13
GeometricSearchTracker
Definition:
GeometricSearchTracker.h:13
DetLayer
Definition:
DetLayer.h:26
MeasurementByLayerGrouper::operator()
std::vector< std::pair< const DetLayer *, std::vector< TM > > > operator()(const std::vector< TM > &) const
Definition:
MeasurementByLayerGrouper.cc:12
TrajectoryMeasurement
Definition:
TrajectoryMeasurement.h:25
MeasurementByLayerGrouper::getDetLayer
const DetLayer * getDetLayer(const TM &tm) const
Definition:
MeasurementByLayerGrouper.cc:53
MeasurementByLayerGrouper::TM
TrajectoryMeasurement TM
Definition:
MeasurementByLayerGrouper.h:17
MeasurementByLayerGrouper::theGeomSearch
const GeometricSearchTracker * theGeomSearch
Definition:
MeasurementByLayerGrouper.h:18
electronDbsDiscovery.search
def search
Definition:
electronDbsDiscovery.py:143
Generated for CMSSW Reference Manual by
1.8.5