#include <PositionAtECalEntranceComputer.h>
Public Member Functions | |
void | beginEvent (const edm::EventSetup &) |
reco::Candidate::Point | operator() (const reco::Candidate *particle, bool &success) const |
PositionAtECalEntranceComputer () | |
~PositionAtECalEntranceComputer () | |
Private Attributes | |
double | bField_z_ |
Extrapolate particle (charged or neutral) to ECAL entrance, in order to compute the distance of the tau to ECAL cracks and/or dead ECAL channels
Definition at line 19 of file PositionAtECalEntranceComputer.h.
PositionAtECalEntranceComputer::PositionAtECalEntranceComputer | ( | ) |
Definition at line 9 of file PositionAtECalEntranceComputer.cc.
PositionAtECalEntranceComputer::~PositionAtECalEntranceComputer | ( | ) |
Definition at line 11 of file PositionAtECalEntranceComputer.cc.
void PositionAtECalEntranceComputer::beginEvent | ( | const edm::EventSetup & | es | ) |
Definition at line 13 of file PositionAtECalEntranceComputer.cc.
References Calorimetry_cff::bField, bField_z_, edm::EventSetup::get(), and get.
Referenced by AntiElectronDeadECAL::beginEvent(), and AntiElectronIDMVA6::beginEvent().
reco::Candidate::Point PositionAtECalEntranceComputer::operator() | ( | const reco::Candidate * | particle, |
bool & | success | ||
) | const |
Definition at line 19 of file PositionAtECalEntranceComputer.cc.
References cms::cuda::assert(), bField_z_, reco::Candidate::charge(), reco::Candidate::p4(), position, TrackCandidateProducer_cfi::propagator, summarizeEdmComparisonLogfiles::success, and reco::Candidate::vertex().
|
private |
Definition at line 30 of file PositionAtECalEntranceComputer.h.
Referenced by beginEvent(), and operator()().