CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
muonisolation::CaloExtractor Class Reference

#include <CaloExtractor.h>

Inheritance diagram for muonisolation::CaloExtractor:
reco::isodeposit::IsoDepositExtractor

Public Member Functions

 CaloExtractor ()
 
 CaloExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
 
virtual reco::IsoDeposit deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
 
virtual void fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks)
 
virtual ~CaloExtractor ()
 
- Public Member Functions inherited from reco::isodeposit::IsoDepositExtractor
virtual reco::IsoDeposit deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const
 make single IsoDeposit based on trackRef as input More...
 
virtual reco::IsoDeposit deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &track) const
 
virtual reco::IsoDeposit deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const
 make single IsoDeposit based on a CandidateBaseRef as input More...
 
virtual std::vector
< reco::IsoDeposit
deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
 
virtual std::vector
< reco::IsoDeposit
deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const
 
virtual std::vector
< reco::IsoDeposit
deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &track) const
 
virtual std::vector
< reco::IsoDeposit
deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const
 
virtual void initEvent (const edm::Event &, const edm::EventSetup &)
 perform some constly initialization More...
 
virtual ~IsoDepositExtractor ()
 Destructor. More...
 

Static Public Member Functions

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. More...
 

Private Member Functions

double noiseEcal (const CaloTower &tower) const
 
double noiseHcal (const CaloTower &tower) const
 

Private Attributes

edm::EDGetTokenT
< CaloTowerCollection
theCaloTowerCollectionToken
 
std::string theDepositLabel
 
double theDR_Max
 
double theDR_Veto_E
 
double theDR_Veto_H
 
double theThreshold_E
 
double theThreshold_H
 
std::vector< DetIdtheVetoCollection
 
double theWeight_E
 
double theWeight_H
 
bool vertexConstraintFlag_XY
 
bool vertexConstraintFlag_Z
 

Detailed Description

Definition at line 20 of file CaloExtractor.h.

Constructor & Destructor Documentation

muonisolation::CaloExtractor::CaloExtractor ( )
inline

Definition at line 24 of file CaloExtractor.h.

24 {};
CaloExtractor::CaloExtractor ( const edm::ParameterSet par,
edm::ConsumesCollector &&  iC 
)

Definition at line 22 of file CaloExtractor.cc.

virtual muonisolation::CaloExtractor::~CaloExtractor ( )
inlinevirtual

Definition at line 27 of file CaloExtractor.h.

27 {}

Member Function Documentation

IsoDeposit CaloExtractor::deposit ( const edm::Event ev,
const edm::EventSetup evSetup,
const reco::Track track 
) const
virtual

make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations

make this abit faster

Implements reco::isodeposit::IsoDepositExtractor.

Definition at line 89 of file CaloExtractor.cc.

void CaloExtractor::fillVetos ( const edm::Event ev,
const edm::EventSetup evSetup,
const reco::TrackCollection tracks 
)
virtual

fill vetoes: to exclude deposits at IsoDeposit creation stage check concrete extractors if it's no-op !

make this abit faster

Implements reco::isodeposit::IsoDepositExtractor.

Definition at line 37 of file CaloExtractor.cc.

GlobalPoint CaloExtractor::MuonAtCaloPosition ( const reco::Track muon,
const double  bz,
const GlobalPoint endpos,
bool  fixVxy = false,
bool  fixVz = false 
)
static

Extrapolate muons to calorimeter-object positions.

Definition at line 197 of file CaloExtractor.cc.

double CaloExtractor::noiseEcal ( const CaloTower tower) const
private

Definition at line 290 of file CaloExtractor.cc.

double CaloExtractor::noiseHcal ( const CaloTower tower) const
private

Definition at line 297 of file CaloExtractor.cc.

Member Data Documentation

edm::EDGetTokenT<CaloTowerCollection> muonisolation::CaloExtractor::theCaloTowerCollectionToken
private

Definition at line 37 of file CaloExtractor.h.

std::string muonisolation::CaloExtractor::theDepositLabel
private

Definition at line 40 of file CaloExtractor.h.

double muonisolation::CaloExtractor::theDR_Max
private

Definition at line 49 of file CaloExtractor.h.

double muonisolation::CaloExtractor::theDR_Veto_E
private

Definition at line 47 of file CaloExtractor.h.

double muonisolation::CaloExtractor::theDR_Veto_H
private

Definition at line 48 of file CaloExtractor.h.

double muonisolation::CaloExtractor::theThreshold_E
private

Definition at line 45 of file CaloExtractor.h.

double muonisolation::CaloExtractor::theThreshold_H
private

Definition at line 46 of file CaloExtractor.h.

std::vector<DetId> muonisolation::CaloExtractor::theVetoCollection
private

Definition at line 54 of file CaloExtractor.h.

double muonisolation::CaloExtractor::theWeight_E
private

Definition at line 43 of file CaloExtractor.h.

double muonisolation::CaloExtractor::theWeight_H
private

Definition at line 44 of file CaloExtractor.h.

bool muonisolation::CaloExtractor::vertexConstraintFlag_XY
private

Definition at line 50 of file CaloExtractor.h.

bool muonisolation::CaloExtractor::vertexConstraintFlag_Z
private

Definition at line 51 of file CaloExtractor.h.