AnalysisAlgos
TrackInfoProducer
interface
TrackInfoProducerAlgorithm.h
Go to the documentation of this file.
1
#ifndef TrackInfoProducerAlgorithm_h
2
#define TrackInfoProducerAlgorithm_h
3
4
//
5
// Package: RecoTracker/TrackProducer
6
// Class: TrackInfoProducerAlgorithm
7
//
8
//
9
// Original $Author: Chiara Genta
10
// $Created:
11
// $Id:
12
//
13
#include "
DataFormats/Common/interface/Handle.h
"
14
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
15
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
16
#include "
AnalysisDataFormats/TrackInfo/interface/TrackInfo.h
"
17
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
18
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
19
20
class
TrackInfoProducerAlgorithm
{
21
public
:
22
typedef
TrackingRecHit::ConstRecHitPointer
ConstRecHitPointer
;
23
24
TrackInfoProducerAlgorithm
(
const
edm::ParameterSet
& conf)
25
:
conf_
(conf),
26
forwardPredictedStateTag_
(conf.getParameter<
std
::
string
>(
"forwardPredictedState"
)),
27
backwardPredictedStateTag_
(conf.getParameter<
std
::
string
>(
"backwardPredictedState"
)),
28
updatedStateTag_
(conf.getParameter<
std
::
string
>(
"updatedState"
)),
29
combinedStateTag_
(conf.getParameter<
std
::
string
>(
"combinedState"
)) {}
30
31
~TrackInfoProducerAlgorithm
() {}
32
33
void
run
(
const
edm::Ref
<std::vector<Trajectory> > traj_iterator,
34
reco::TrackRef
track
,
35
reco::TrackInfo
&
output
,
36
const
TrackerGeometry
*
tracker
);
37
LocalPoint
project
(
const
GeomDet
* det,
const
GeomDet
* projdet,
LocalPoint
position
,
LocalVector
trackdirection)
const
;
38
39
private
:
40
edm::ParameterSet
conf_
;
41
std::string
forwardPredictedStateTag_
,
backwardPredictedStateTag_
,
updatedStateTag_
,
combinedStateTag_
;
42
};
43
44
#endif
Vector3DBase< float, LocalTag >
TrackInfoProducerAlgorithm::conf_
edm::ParameterSet conf_
Definition:
TrackInfoProducerAlgorithm.h:40
Handle.h
TrackerGeometry.h
GeomDet
Definition:
GeomDet.h:27
TrackInfo.h
TrackInfoProducerAlgorithm
Definition:
TrackInfoProducerAlgorithm.h:20
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:32
TrackInfoProducerAlgorithm::combinedStateTag_
std::string combinedStateTag_
Definition:
TrackInfoProducerAlgorithm.h:41
TrackInfoProducerAlgorithm::project
LocalPoint project(const GeomDet *det, const GeomDet *projdet, LocalPoint position, LocalVector trackdirection) const
Definition:
TrackInfoProducerAlgorithm.cc:172
reco::TrackInfo
Definition:
TrackInfo.h:23
TrackInfoProducerAlgorithm::ConstRecHitPointer
TrackingRecHit::ConstRecHitPointer ConstRecHitPointer
Definition:
TrackInfoProducerAlgorithm.h:22
edm::Ref
Definition:
AssociativeIterator.h:58
TrackFwd.h
TrackInfoProducerAlgorithm::forwardPredictedStateTag_
std::string forwardPredictedStateTag_
Definition:
TrackInfoProducerAlgorithm.h:41
Point3DBase< float, LocalTag >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition:
PbPb_ZMuSkimMuonDPG_cff.py:60
edm::ParameterSet
Definition:
ParameterSet.h:36
TrackInfoProducerAlgorithm::~TrackInfoProducerAlgorithm
~TrackInfoProducerAlgorithm()
Definition:
TrackInfoProducerAlgorithm.h:31
position
static int position[264][3]
Definition:
ReadPGInfo.cc:289
TrackingRecHit::ConstRecHitPointer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
Definition:
TrackingRecHit.h:25
TrackInfoProducerAlgorithm::TrackInfoProducerAlgorithm
TrackInfoProducerAlgorithm(const edm::ParameterSet &conf)
Definition:
TrackInfoProducerAlgorithm.h:24
TrackInfoProducerAlgorithm::updatedStateTag_
std::string updatedStateTag_
Definition:
TrackInfoProducerAlgorithm.h:41
Trajectory.h
std
Definition:
JetResolutionObject.h:76
TrackInfoProducerAlgorithm::run
void run(const edm::Ref< std::vector< Trajectory > > traj_iterator, reco::TrackRef track, reco::TrackInfo &output, const TrackerGeometry *tracker)
Definition:
TrackInfoProducerAlgorithm.cc:16
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10352
ParameterSet.h
TrackInfoProducerAlgorithm::backwardPredictedStateTag_
std::string backwardPredictedStateTag_
Definition:
TrackInfoProducerAlgorithm.h:41
TrackerGeometry
Definition:
TrackerGeometry.h:14
Generated for CMSSW Reference Manual by
1.8.16