#include <CaloExtractor.h>
Public Member Functions | |
CaloExtractor () | |
CaloExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override |
void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override |
~CaloExtractor () override | |
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 | |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | theCaloGeomToken |
edm::EDGetTokenT< CaloTowerCollection > | theCaloTowerCollectionToken |
std::string | theDepositLabel |
double | theDR_Max |
double | theDR_Veto_E |
double | theDR_Veto_H |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | theFieldToken |
double | theThreshold_E |
double | theThreshold_H |
std::vector< DetId > | theVetoCollection |
double | theWeight_E |
double | theWeight_H |
bool | vertexConstraintFlag_XY |
bool | vertexConstraintFlag_Z |
Definition at line 25 of file CaloExtractor.h.
|
inline |
Definition at line 27 of file CaloExtractor.h.
CaloExtractor::CaloExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 16 of file CaloExtractor.cc.
|
inlineoverride |
Definition at line 30 of file CaloExtractor.h.
|
overridevirtual |
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 87 of file CaloExtractor.cc.
References Calorimetry_cff::bField, reco::deltaR(), HLT_2024v12_cff::dEta, PV3DBase< T, PVType, FrameType >::eta(), options_cfi::eventSetup, spr::find(), LogDebug, MuonAtCaloPosition(), noiseEcal(), noiseHcal(), PV3DBase< T, PVType, FrameType >::phi(), theCaloGeomToken, theCaloTowerCollectionToken, theDR_Max, theDR_Veto_E, theDR_Veto_H, theFieldToken, theThreshold_E, theThreshold_H, theVetoCollection, theWeight_E, theWeight_H, HLT_2024v12_cff::towers, vertexConstraintFlag_XY, and vertexConstraintFlag_Z.
|
overridevirtual |
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 32 of file CaloExtractor.cc.
References Calorimetry_cff::bField, reco::deltaR(), HLT_2024v12_cff::dEta, options_cfi::eventSetup, amptDefaultParameters_cff::mu, MuonAtCaloPosition(), DiMuonV_cfg::muons, noiseEcal(), noiseHcal(), theCaloGeomToken, theCaloTowerCollectionToken, theDR_Max, theDR_Veto_E, theDR_Veto_H, theFieldToken, theThreshold_E, theThreshold_H, theVetoCollection, theWeight_E, theWeight_H, HLT_2024v12_cff::towers, vertexConstraintFlag_XY, and vertexConstraintFlag_Z.
|
static |
Extrapolate muons to calorimeter-object positions.
Definition at line 181 of file CaloExtractor.cc.
References funct::cos(), PVValHelper::dz, normalizedPhi(), funct::pow(), run3scouting_cff::qoverp, funct::sin(), funct::tan(), theta(), x, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 264 of file CaloExtractor.cc.
References PVValHelper::eta, hgchebackDigitizer_cfi::noise, and l1tHGCalTowerProducer_cfi::tower.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 272 of file CaloExtractor.cc.
References hgchebackDigitizer_cfi::noise.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 48 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 43 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 46 of file CaloExtractor.h.
|
private |
Definition at line 58 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 56 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 57 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 49 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 54 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 55 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 63 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 52 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 53 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 59 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 60 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().