Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
GeneratorInterface
GenFilters
interface
PythiaFilterIsolatedTrack.h
Go to the documentation of this file.
1
#ifndef PythiaFilterIsolatedTrack_h
2
#define PythiaFilterIsolatedTrack_h
3
17
// system include files
18
#include <memory>
19
20
// user include files
21
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
22
#include "
FWCore/Framework/interface/EDFilter.h
"
23
24
#include "
FWCore/Framework/interface/Event.h
"
25
#include "
FWCore/Framework/interface/MakerMacros.h
"
26
27
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
28
29
#include "
FWCore/ServiceRegistry/interface/Service.h
"
30
#include "
FWCore/Utilities/interface/RandomNumberGenerator.h
"
31
32
namespace
edm {
33
class
HepMCProduct
;
34
}
35
36
class
PythiaFilterIsolatedTrack
:
public
edm::EDFilter
{
37
public
:
38
explicit
PythiaFilterIsolatedTrack
(
const
edm::ParameterSet
&);
39
~PythiaFilterIsolatedTrack
();
40
41
virtual
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&);
42
43
44
// helper functions
45
static
std::pair<double,double>
GetEtaPhiAtEcal
(
double
etaIP,
double
phiIP,
double
pT,
int
charge
,
double
vtxZ);
46
static
double
getDistInCM
(
double
eta1,
double
phi1,
double
eta2,
double
phi2);
47
48
private
:
49
50
// parameters
51
edm::EDGetTokenT<edm::HepMCProduct>
token_
;
// token to get the generated particles
52
double
MaxSeedEta_
;
// maximum eta of the isolated track seed
53
double
MinSeedMom_
;
// minimum momentum of the isolated track seed
54
double
MinIsolTrackMom_
;
// minimum prohibited momentum of a nearby track
55
double
IsolCone_
;
// cone size (in mm) around the seed to consider a track "nearby"
56
double
PixelEfficiency_
;
// efficiency to reconstruct a pixel track (used to throw out nearby tracks, randomly)
57
58
// to get a random number
59
edm::Service<edm::RandomNumberGenerator>
rng_
;
60
};
61
#endif
edm::Service< edm::RandomNumberGenerator >
RandomNumberGenerator.h
Event.h
MakerMacros.h
PythiaFilterIsolatedTrack::MinIsolTrackMom_
double MinIsolTrackMom_
Definition:
PythiaFilterIsolatedTrack.h:54
edm::EDGetTokenT< edm::HepMCProduct >
Frameworkfwd.h
PythiaFilterIsolatedTrack
Definition:
PythiaFilterIsolatedTrack.h:36
ParameterSet.h
EDFilter.h
PythiaFilterIsolatedTrack::filter
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition:
PythiaFilterIsolatedTrack.cc:104
PythiaFilterIsolatedTrack::token_
edm::EDGetTokenT< edm::HepMCProduct > token_
Definition:
PythiaFilterIsolatedTrack.h:51
HepMCProduct
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
edm::EDFilter
Definition:
EDFilter.h:37
PythiaFilterIsolatedTrack::getDistInCM
static double getDistInCM(double eta1, double phi1, double eta2, double phi2)
Definition:
PythiaFilterIsolatedTrack.cc:66
PythiaFilterIsolatedTrack::MaxSeedEta_
double MaxSeedEta_
Definition:
PythiaFilterIsolatedTrack.h:52
PythiaFilterIsolatedTrack::PythiaFilterIsolatedTrack
PythiaFilterIsolatedTrack(const edm::ParameterSet &)
Definition:
PythiaFilterIsolatedTrack.cc:82
PythiaFilterIsolatedTrack::rng_
edm::Service< edm::RandomNumberGenerator > rng_
Definition:
PythiaFilterIsolatedTrack.h:59
PythiaFilterIsolatedTrack::~PythiaFilterIsolatedTrack
~PythiaFilterIsolatedTrack()
Definition:
PythiaFilterIsolatedTrack.cc:98
PythiaFilterIsolatedTrack::MinSeedMom_
double MinSeedMom_
Definition:
PythiaFilterIsolatedTrack.h:53
edm::ParameterSet
Definition:
ParameterSet.h:36
PythiaFilterIsolatedTrack::IsolCone_
double IsolCone_
Definition:
PythiaFilterIsolatedTrack.h:55
PythiaFilterIsolatedTrack::PixelEfficiency_
double PixelEfficiency_
Definition:
PythiaFilterIsolatedTrack.h:56
PythiaFilterIsolatedTrack::GetEtaPhiAtEcal
static std::pair< double, double > GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ)
Definition:
PythiaFilterIsolatedTrack.cc:17
edm::Event
Definition:
Event.h:64
RecoTauCleanerPlugins.charge
tuple charge
Definition:
RecoTauCleanerPlugins.py:33
Generated for CMSSW Reference Manual by
1.8.5