#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 ecalTB2006H4_GenSimDigiReco_cfg::bField, bField_z_, edm::EventSetup::get(), MagneticField::inTesla(), and PV3DBase< T, PVType, FrameType >::z().
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 bField_z_, reco::Candidate::charge(), BaseParticlePropagator::getSuccess(), reco::Candidate::p4(), BaseParticlePropagator::particle(), position, BaseParticlePropagator::propagateToEcalEntrance(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, reco::Candidate::vertex(), and RawParticle::vertex().
|
private |
Definition at line 30 of file PositionAtECalEntranceComputer.h.
Referenced by beginEvent(), and operator()().