Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTauTag
InvariantMass
interface
InvariantMassAlgorithm.h
Go to the documentation of this file.
1
#ifndef InvariantMassAlgorithm_H
2
#define InvariantMassAlgorithm_H
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
6
#include "
DataFormats/BTauReco/interface/TauMassTagInfo.h
"
7
#include "
DataFormats/BTauReco/interface/JetTag.h
"
8
#include "
DataFormats/VertexReco/interface/Vertex.h
"
9
#include "
DataFormats/JetReco/interface/Jet.h
"
10
#include "
DataFormats/TrackReco/interface/Track.h
"
11
#include "
DataFormats/JetReco/interface/JetTracksAssociation.h
"
12
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
#include "
DataFormats/EgammaReco/interface/BasicCluster.h
"
15
#include "
DataFormats/EgammaReco/interface/BasicClusterFwd.h
"
16
#include "
TrackingTools/TrackAssociator/interface/TrackDetectorAssociator.h
"
17
#include "
TrackingTools/TrackAssociator/interface/TrackAssociatorParameters.h
"
18
#include "
TrackPropagation/SteppingHelixPropagator/interface/SteppingHelixPropagator.h
"
19
#include "
RecoTracker/TrackProducer/interface/TrackProducerBase.h
"
20
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
21
22
//Math
23
#include "Math/GenVector/VectorUtil.h"
24
#include "Math/GenVector/PxPyPzE4D.h"
25
26
class
InvariantMassAlgorithm
{
27
28
public
:
29
30
InvariantMassAlgorithm
(
const
edm::ParameterSet
&
parameters
);
31
InvariantMassAlgorithm
();
32
33
// For out of framework usage we may need a different constructor
34
// so we keep datamember as builtin types (instead of ParameterSet)
35
//InvariantMassAlgorithm (int,float,....);
36
37
~InvariantMassAlgorithm
();
38
39
std::pair<double, reco::TauMassTagInfo>
tag
(
edm::Event
& theEvent,
const
edm::EventSetup
& theEventSetup,
const
reco::IsolatedTauTagInfoRef& tauRef,
const
edm::Handle<reco::BasicClusterCollection>
& clus_handle);
40
41
float
getMinimumClusterDR
(
edm::Event
& theEvent,
const
edm::EventSetup
& theEventSetup,
const
reco::IsolatedTauTagInfoRef& tauRef,
const
math::XYZVector
& cluster_3vec);
42
43
private
:
44
45
//algorithm parameters
46
47
double
matching_cone
;
48
double
leading_trk_pt
;
49
double
signal_cone
;
50
double
cluster_jet_matching_cone
;
51
double
cluster_track_matching_cone
;
52
double
inv_mass_cut
;
53
54
TrackDetectorAssociator
*
trackAssociator_
;
55
TrackAssociatorParameters
trackAssociatorParameters_
;
56
57
};
58
59
#endif
60
InvariantMassAlgorithm::trackAssociator_
TrackDetectorAssociator * trackAssociator_
Definition:
InvariantMassAlgorithm.h:54
InvariantMassAlgorithm::cluster_jet_matching_cone
double cluster_jet_matching_cone
Definition:
InvariantMassAlgorithm.h:50
Parameters.parameters
dictionary parameters
Definition:
Parameters.py:2
TauMassTagInfo.h
InvariantMassAlgorithm::leading_trk_pt
double leading_trk_pt
Definition:
InvariantMassAlgorithm.h:48
TrackDetectorAssociator.h
TransientTrack.h
Event.h
SteppingHelixPropagator.h
InvariantMassAlgorithm
Definition:
InvariantMassAlgorithm.h:26
edm::Handle
Definition:
AssociativeIterator.h:48
InvariantMassAlgorithm::~InvariantMassAlgorithm
~InvariantMassAlgorithm()
Definition:
InvariantMassAlgorithm.cc:43
InvariantMassAlgorithm::inv_mass_cut
double inv_mass_cut
Definition:
InvariantMassAlgorithm.h:52
ParameterSet.h
InvariantMassAlgorithm::cluster_track_matching_cone
double cluster_track_matching_cone
Definition:
InvariantMassAlgorithm.h:51
TrackProducerBase.h
edm::EventSetup
Definition:
EventSetup.h:44
Jet.h
JetTag.h
InvariantMassAlgorithm::tag
std::pair< double, reco::TauMassTagInfo > tag(edm::Event &theEvent, const edm::EventSetup &theEventSetup, const reco::IsolatedTauTagInfoRef &tauRef, const edm::Handle< reco::BasicClusterCollection > &clus_handle)
Definition:
InvariantMassAlgorithm.cc:49
InvariantMassAlgorithm::getMinimumClusterDR
float getMinimumClusterDR(edm::Event &theEvent, const edm::EventSetup &theEventSetup, const reco::IsolatedTauTagInfoRef &tauRef, const math::XYZVector &cluster_3vec)
Definition:
InvariantMassAlgorithm.cc:86
Vertex.h
GlobalVector.h
BasicClusterFwd.h
InvariantMassAlgorithm::signal_cone
double signal_cone
Definition:
InvariantMassAlgorithm.h:49
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition:
Vector3D.h:31
TrackDetectorAssociator
Definition:
TrackDetectorAssociator.h:53
InvariantMassAlgorithm::matching_cone
double matching_cone
Definition:
InvariantMassAlgorithm.h:47
JetTracksAssociation.h
edm::ParameterSet
Definition:
ParameterSet.h:32
TrackAssociatorParameters.h
edm::Event
Definition:
Event.h:49
Track.h
TrackAssociatorParameters
Definition:
TrackAssociatorParameters.h:22
BasicCluster.h
InvariantMassAlgorithm::InvariantMassAlgorithm
InvariantMassAlgorithm()
Definition:
InvariantMassAlgorithm.cc:11
InvariantMassAlgorithm::trackAssociatorParameters_
TrackAssociatorParameters trackAssociatorParameters_
Definition:
InvariantMassAlgorithm.h:55
Generated for CMSSW Reference Manual by
1.8.5