Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
20
21
22
23
class
ImpactParameterAlgorithm
{
24
25
public
:
26
27
ImpactParameterAlgorithm
(
const
edm::ParameterSet
&
parameters
);
28
ImpactParameterAlgorithm
();
29
30
// For out of framework usage we may need a different constructor
31
// so we keep datamember as builtin types (instead of ParameterSet)
32
//ImpactParameterAlgorithm (int,float,....);
33
34
~ImpactParameterAlgorithm
() {}
35
36
void
setPrimaryVertex
(
reco::Vertex
*
pv
) {
primaryVertex
=
pv
;}
37
38
std::pair<float,reco::TauImpactParameterInfo>
tag
(
const
reco::IsolatedTauTagInfoRef
&,
const
reco::Vertex
&);
39
40
void
setTransientTrackBuilder
(
const
TransientTrackBuilder
*);
41
42
43
private
:
44
reco::Vertex
*
primaryVertex
;
45
46
//algorithm parameters
47
double
ip_min
,
48
ip_max
,
49
sip_min
;
50
bool
use3D
,
51
use_sign
;
52
53
const
TransientTrackBuilder
*
transientTrackBuilder
;
54
};
55
56
#endif
57
MetAnalyzer.pv
def pv
Definition:
MetAnalyzer.py:6
TransientTrackBuilder.h
ImpactParameterAlgorithm::primaryVertex
reco::Vertex * primaryVertex
Definition:
ImpactParameterAlgorithm.h:44
ImpactParameterAlgorithm::sip_min
double sip_min
Definition:
ImpactParameterAlgorithm.h:47
edm::Ref< IsolatedTauTagInfoCollection >
ImpactParameterAlgorithm
Definition:
ImpactParameterAlgorithm.h:23
ImpactParameterAlgorithm::~ImpactParameterAlgorithm
~ImpactParameterAlgorithm()
Definition:
ImpactParameterAlgorithm.h:34
ImpactParameterAlgorithm::use3D
bool use3D
Definition:
ImpactParameterAlgorithm.h:50
TauImpactParameterInfo.h
MagneticField.h
ParameterSet.h
reco::Vertex
Definition:
Vertex.h:34
ImpactParameterAlgorithm::setTransientTrackBuilder
void setTransientTrackBuilder(const TransientTrackBuilder *)
Definition:
ImpactParameterAlgorithm.cc:26
ImpactParameterAlgorithm::ImpactParameterAlgorithm
ImpactParameterAlgorithm()
Definition:
ImpactParameterAlgorithm.cc:9
TransientTrackBuilder
Definition:
TransientTrackBuilder.h:15
Jet.h
JetTag.h
ImpactParameterAlgorithm::ip_min
double ip_min
Definition:
ImpactParameterAlgorithm.h:47
ImpactParameterAlgorithm::use_sign
bool use_sign
Definition:
ImpactParameterAlgorithm.h:50
ImpactParameterAlgorithm::transientTrackBuilder
const TransientTrackBuilder * transientTrackBuilder
Definition:
ImpactParameterAlgorithm.h:53
Vertex.h
GlobalVector.h
ImpactParameterAlgorithm::ip_max
double ip_max
Definition:
ImpactParameterAlgorithm.h:47
HLT_FULL_cff.parameters
tuple parameters
Definition:
HLT_FULL_cff.py:4049
ImpactParameterAlgorithm::setPrimaryVertex
void setPrimaryVertex(reco::Vertex *pv)
Definition:
ImpactParameterAlgorithm.h:36
JetTracksAssociation.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ImpactParameterAlgorithm::tag
std::pair< float, reco::TauImpactParameterInfo > tag(const reco::IsolatedTauTagInfoRef &, const reco::Vertex &)
Definition:
ImpactParameterAlgorithm.cc:31
Track.h
Generated for CMSSW Reference Manual by
1.8.5