Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoMuon
MuonIsolation
plugins
CaloExtractor.h
Go to the documentation of this file.
1
#ifndef MuonIsolation_CaloExtractor_H
2
#define MuonIsolation_CaloExtractor_H
3
4
#include <string>
5
6
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
7
8
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
9
#include "
DataFormats/TrackReco/interface/Track.h
"
10
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
11
12
#include "
DataFormats/CaloTowers/interface/CaloTowerCollection.h
"
13
14
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
15
16
namespace
muonisolation {
17
18
class
CaloExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
19
20
public
:
21
22
CaloExtractor
(){};
23
CaloExtractor
(
const
edm::ParameterSet
&
par
);
24
25
virtual
~CaloExtractor
(){}
26
27
virtual
void
fillVetos
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
&
tracks
);
28
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const
;
29
31
static
GlobalPoint
MuonAtCaloPosition
(
const
reco::Track
&
muon
,
const
double
bz,
const
GlobalPoint
& endpos,
bool
fixVxy=
false
,
bool
fixVz=
false
);
32
33
private
:
34
// CaloTower Collection Label
35
edm::InputTag
theCaloTowerCollectionLabel
;
36
37
// Label of deposit
38
std::string
theDepositLabel
;
39
40
// Cone cuts and thresholds
41
double
theWeight_E
;
42
double
theWeight_H
;
43
double
theThreshold_E
;
44
double
theThreshold_H
;
45
double
theDR_Veto_E
;
46
double
theDR_Veto_H
;
47
double
theDR_Max
;
48
bool
vertexConstraintFlag_XY
;
49
bool
vertexConstraintFlag_Z
;
50
51
// Vector of calo Ids to veto
52
std::vector<DetId>
theVetoCollection
;
53
54
// Determine noise for HCAL and ECAL (take some defaults for the time being)
55
double
noiseEcal
(
const
CaloTower
& tower)
const
;
56
double
noiseHcal
(
const
CaloTower
& tower)
const
;
57
};
58
59
}
60
61
#endif
CaloTowerCollection.h
reco::IsoDeposit
Definition:
IsoDeposit.h:45
muonisolation::CaloExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
Definition:
CaloExtractor.cc:95
muonisolation::CaloExtractor::theDR_Veto_H
double theDR_Veto_H
Definition:
CaloExtractor.h:46
muonisolation::CaloExtractor::theThreshold_H
double theThreshold_H
Definition:
CaloExtractor.h:44
muonisolation::CaloExtractor
Definition:
CaloExtractor.h:18
muonisolation::CaloExtractor::fillVetos
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks)
Definition:
CaloExtractor.cc:43
muonisolation::CaloExtractor::noiseEcal
double noiseEcal(const CaloTower &tower) const
Definition:
CaloExtractor.cc:296
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:10
muonisolation::CaloExtractor::theCaloTowerCollectionLabel
edm::InputTag theCaloTowerCollectionLabel
Definition:
CaloExtractor.h:35
TrackFwd.h
muonisolation::CaloExtractor::theWeight_H
double theWeight_H
Definition:
CaloExtractor.h:42
muonisolation::CaloExtractor::vertexConstraintFlag_Z
bool vertexConstraintFlag_Z
Definition:
CaloExtractor.h:49
muonisolation::CaloExtractor::~CaloExtractor
virtual ~CaloExtractor()
Definition:
CaloExtractor.h:25
muonisolation::CaloExtractor::theDR_Veto_E
double theDR_Veto_E
Definition:
CaloExtractor.h:45
edm::EventSetup
Definition:
EventSetup.h:44
muonisolation::CaloExtractor::noiseHcal
double noiseHcal(const CaloTower &tower) const
Definition:
CaloExtractor.cc:303
CaloTower
Definition:
CaloTower.h:28
muonisolation::CaloExtractor::theDR_Max
double theDR_Max
Definition:
CaloExtractor.h:47
muonisolation::CaloExtractor::CaloExtractor
CaloExtractor()
Definition:
CaloExtractor.h:22
muonisolation::CaloExtractor::theWeight_E
double theWeight_E
Definition:
CaloExtractor.h:41
metsig::muon
Definition:
SignAlgoResolutions.h:41
testEve_cfg.tracks
tuple tracks
Definition:
testEve_cfg.py:39
reco::Track
Definition:
Track.h:27
muonisolation::CaloExtractor::MuonAtCaloPosition
static GlobalPoint MuonAtCaloPosition(const reco::Track &muon, const double bz, const GlobalPoint &endpos, bool fixVxy=false, bool fixVz=false)
Extrapolate muons to calorimeter-object positions.
Definition:
CaloExtractor.cc:203
IsoDeposit.h
IsoDepositExtractor.h
muonisolation::CaloExtractor::theThreshold_E
double theThreshold_E
Definition:
CaloExtractor.h:43
Point3DBase< float, GlobalTag >
edm::InputTag
Definition:
InputTag.h:12
edm::ParameterSet
Definition:
ParameterSet.h:32
muonisolation::CaloExtractor::vertexConstraintFlag_XY
bool vertexConstraintFlag_XY
Definition:
CaloExtractor.h:48
muonisolation::CaloExtractor::theDepositLabel
std::string theDepositLabel
Definition:
CaloExtractor.h:38
edm::Event
Definition:
Event.h:49
Track.h
Gflash::par
const double par[8 *NPar][4]
Definition:
GflashNameSpace.h:177
GlobalPoint.h
muonisolation::CaloExtractor::theVetoCollection
std::vector< DetId > theVetoCollection
Definition:
CaloExtractor.h:52
Generated for CMSSW Reference Manual by
1.8.5