RecoTauTag
ImpactParameter
interface
ImpactParameterAlgorithm.h
Go to the documentation of this file.
1
#ifndef ImpactParameterAlgorithm_H
2
#define ImpactParameterAlgorithm_H
3
#include "
DataFormats/BTauReco/interface/TauImpactParameterInfo.h
"
4
#include "
DataFormats/BTauReco/interface/JetTag.h
"
5
#include "
DataFormats/VertexReco/interface/Vertex.h
"
6
#include "
DataFormats/JetReco/interface/Jet.h
"
7
#include "
DataFormats/TrackReco/interface/Track.h
"
8
#include "
DataFormats/JetReco/interface/JetTracksAssociation.h
"
9
#include "
MagneticField/Engine/interface/MagneticField.h
"
10
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
11
//#include "DataFormats/GeometryVector/interface/GlobalVector.h"
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
//Math
14
#include "Math/GenVector/VectorUtil.h"
15
#include "Math/GenVector/PxPyPzE4D.h"
16
17
#include "
TrackingTools/TransientTrack/interface/TransientTrackBuilder.h
"
18
19
class
ImpactParameterAlgorithm
{
20
public
:
21
ImpactParameterAlgorithm
(
const
edm::ParameterSet
&
parameters
);
22
ImpactParameterAlgorithm
();
23
24
// For out of framework usage we may need a different constructor
25
// so we keep datamember as builtin types (instead of ParameterSet)
26
//ImpactParameterAlgorithm (int,float,....);
27
28
~ImpactParameterAlgorithm
() {}
29
30
void
setPrimaryVertex
(
reco::Vertex
*
pv
) {
primaryVertex
=
pv
; }
31
32
std::pair<float, reco::TauImpactParameterInfo>
tag
(
const
reco::IsolatedTauTagInfoRef
&,
const
reco::Vertex
&);
33
34
void
setTransientTrackBuilder
(
const
TransientTrackBuilder
*);
35
36
private
:
37
reco::Vertex
*
primaryVertex
;
38
39
//algorithm parameters
40
double
ip_min
,
ip_max
,
sip_min
;
41
bool
use3D
,
use_sign
;
42
43
const
TransientTrackBuilder
*
transientTrackBuilder
;
44
};
45
46
#endif
JetTracksAssociation.h
BeamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:29
JetTag.h
ImpactParameterAlgorithm::use3D
bool use3D
Definition:
ImpactParameterAlgorithm.h:41
Jet.h
ImpactParameterAlgorithm::sip_min
double sip_min
Definition:
ImpactParameterAlgorithm.h:40
ImpactParameterAlgorithm::ImpactParameterAlgorithm
ImpactParameterAlgorithm()
Definition:
ImpactParameterAlgorithm.cc:9
ImpactParameterAlgorithm::tag
std::pair< float, reco::TauImpactParameterInfo > tag(const reco::IsolatedTauTagInfoRef &, const reco::Vertex &)
Definition:
ImpactParameterAlgorithm.cc:29
ImpactParameterAlgorithm
Definition:
ImpactParameterAlgorithm.h:19
ImpactParameterAlgorithm::setPrimaryVertex
void setPrimaryVertex(reco::Vertex *pv)
Definition:
ImpactParameterAlgorithm.h:30
edm::Ref< IsolatedTauTagInfoCollection >
ImpactParameterAlgorithm::primaryVertex
reco::Vertex * primaryVertex
Definition:
ImpactParameterAlgorithm.h:37
ImpactParameterAlgorithm::ip_min
double ip_min
Definition:
ImpactParameterAlgorithm.h:40
Track.h
Vertex.h
TransientTrackBuilder.h
edm::ParameterSet
Definition:
ParameterSet.h:47
ImpactParameterAlgorithm::~ImpactParameterAlgorithm
~ImpactParameterAlgorithm()
Definition:
ImpactParameterAlgorithm.h:28
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:7
ImpactParameterAlgorithm::use_sign
bool use_sign
Definition:
ImpactParameterAlgorithm.h:41
TransientTrackBuilder
Definition:
TransientTrackBuilder.h:16
MagneticField.h
TauImpactParameterInfo.h
ImpactParameterAlgorithm::setTransientTrackBuilder
void setTransientTrackBuilder(const TransientTrackBuilder *)
Definition:
ImpactParameterAlgorithm.cc:25
GlobalVector.h
ParameterSet.h
ImpactParameterAlgorithm::transientTrackBuilder
const TransientTrackBuilder * transientTrackBuilder
Definition:
ImpactParameterAlgorithm.h:43
reco::Vertex
Definition:
Vertex.h:35
ImpactParameterAlgorithm::ip_max
double ip_max
Definition:
ImpactParameterAlgorithm.h:40
Generated for CMSSW Reference Manual by
1.8.16