Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
Egamma
interface
HLTPMMassFilter.h
Go to the documentation of this file.
1
#ifndef HLTPMMassFilter_h
2
#define HLTPMMassFilter_h
3
12
#include "
HLTrigger/HLTcore/interface/HLTFilter.h
"
13
14
#include "
DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h
"
15
#include "
RecoEgamma/EgammaElectronAlgos/interface/FTSFromVertexToPointFactory.h
"
16
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
17
#include "
DataFormats/Math/interface/Point3D.h
"
18
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
#include "
FWCore/Framework/interface/ESHandle.h
"
21
22
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
23
#include "
MagneticField/Engine/interface/MagneticField.h
"
24
25
#include "
DataFormats/Common/interface/Handle.h
"
26
27
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
28
29
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
30
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
31
32
#include "
DataFormats/RecoCandidate/interface/RecoEcalCandidate.h
"
33
#include "
DataFormats/RecoCandidate/interface/RecoEcalCandidateFwd.h
"
34
35
#include "
DataFormats/EgammaCandidates/interface/Electron.h
"
36
#include "
DataFormats/EgammaCandidates/interface/ElectronFwd.h
"
37
38
// TEST
39
#include "
FWCore/ServiceRegistry/interface/Service.h
"
40
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
41
42
#include "TFile.h"
43
#include "TDirectory.h"
44
#include "TH1F.h"
45
#include "TH2F.h"
46
#include "TLorentzVector.h"
47
#include "TVector3.h"
48
//
49
// class declaration
50
//
51
52
class
HLTPMMassFilter
:
public
HLTFilter
{
53
54
public
:
55
explicit
HLTPMMassFilter
(
const
edm::ParameterSet
&);
56
~HLTPMMassFilter
();
57
virtual
bool
hltFilter
(
edm::Event
&,
const
edm::EventSetup
&,
trigger::TriggerFilterObjectWithRefs
& filterproduct);
58
59
private
:
60
TLorentzVector
approxMomAtVtx
(
const
MagneticField
*magField,
const
GlobalPoint
& xvert,
const
reco::SuperClusterRef
sc,
int
charge
) ;
61
62
FTSFromVertexToPointFactory
theFTSFactory
;
63
edm::ESHandle<MagneticField>
theMagField
;
64
65
edm::InputTag
candTag_
;
// input tag identifying product contains filtered egammas
66
edm::InputTag
beamSpot_
;
// input tag identifying beamSpot product
67
double
lowerMassCut_
;
68
double
upperMassCut_
;
69
// double lowerPtCut_;
70
int
nZcandcut_
;
// number of Z candidates required
71
bool
reqOppCharge_
;
72
73
bool
relaxed_
;
74
bool
isElectron1_
;
75
bool
isElectron2_
;
76
edm::InputTag
L1IsoCollTag_
;
77
edm::InputTag
L1NonIsoCollTag_
;
78
79
};
80
81
#endif //HLTPMMassFilter_h
82
83
HLTPMMassFilter::candTag_
edm::InputTag candTag_
Definition:
HLTPMMassFilter.h:65
MessageLogger.h
HLTPMMassFilter::isElectron2_
bool isElectron2_
Definition:
HLTPMMassFilter.h:75
HLTPMMassFilter::beamSpot_
edm::InputTag beamSpot_
Definition:
HLTPMMassFilter.h:66
HLTFilter.h
HLTPMMassFilter::reqOppCharge_
bool reqOppCharge_
Definition:
HLTPMMassFilter.h:71
HLTPMMassFilter::approxMomAtVtx
TLorentzVector approxMomAtVtx(const MagneticField *magField, const GlobalPoint &xvert, const reco::SuperClusterRef sc, int charge)
Definition:
HLTPMMassFilter.cc:167
HLTPMMassFilter::~HLTPMMassFilter
~HLTPMMassFilter()
Definition:
HLTPMMassFilter.cc:29
FTSFromVertexToPointFactory
Definition:
FTSFromVertexToPointFactory.h:28
trigger::TriggerFilterObjectWithRefs
Definition:
TriggerFilterObjectWithRefs.h:38
EventSetup.h
HLTPMMassFilter::HLTPMMassFilter
HLTPMMassFilter(const edm::ParameterSet &)
Definition:
HLTPMMassFilter.cc:14
HLTPMMassFilter::upperMassCut_
double upperMassCut_
Definition:
HLTPMMassFilter.h:68
MagneticField
Definition:
MagneticField.h:18
HLTPMMassFilter::L1IsoCollTag_
edm::InputTag L1IsoCollTag_
Definition:
HLTPMMassFilter.h:76
HLTPMMassFilter::L1NonIsoCollTag_
edm::InputTag L1NonIsoCollTag_
Definition:
HLTPMMassFilter.h:77
Handle.h
TriggerFilterObjectWithRefs.h
DeDxDiscriminatorTools::charge
double charge(const std::vector< uint8_t > &Ampls)
Definition:
DeDxDiscriminatorTools.cc:43
Point3D.h
TFileService.h
HLTPMMassFilter::lowerMassCut_
double lowerMassCut_
Definition:
HLTPMMassFilter.h:67
MagneticField.h
ElectronFwd.h
HLTPMMassFilter::relaxed_
bool relaxed_
Definition:
HLTPMMassFilter.h:73
SuperClusterFwd.h
HLTFilter
Definition:
HLTFilter.h:28
edm::ESHandle< MagneticField >
HLTPMMassFilter::hltFilter
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct)
Definition:
HLTPMMassFilter.cc:34
ESHandle.h
Service.h
FTSFromVertexToPointFactory.h
edm::EventSetup
Definition:
EventSetup.h:44
HLTPMMassFilter
Definition:
HLTPMMassFilter.h:52
RecoEcalCandidateFwd.h
HLTPMMassFilter::nZcandcut_
int nZcandcut_
Definition:
HLTPMMassFilter.h:70
RecoEcalCandidate.h
HLTPMMassFilter::isElectron1_
bool isElectron1_
Definition:
HLTPMMassFilter.h:74
Point3DBase< float, GlobalTag >
edm::InputTag
Definition:
InputTag.h:12
HLTPMMassFilter::theFTSFactory
FTSFromVertexToPointFactory theFTSFactory
Definition:
HLTPMMassFilter.h:62
BeamSpot.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:50
Electron.h
edm::Ref< SuperClusterCollection >
IdealMagneticFieldRecord.h
HLTPMMassFilter::theMagField
edm::ESHandle< MagneticField > theMagField
Definition:
HLTPMMassFilter.h:63
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.5