#include <JetBadChanCorrTool.h>
Classes | |
class | ProfileData |
Public Member Functions | |
JetBadChanCorrTool (const std::string &name) | |
virtual StatusCode | initialize () |
virtual int | modifyJet (xAOD::Jet &pJet) const |
virtual StatusCode | setupEvent () |
Protected Member Functions | |
int | correctionFromCellsInJet (xAOD::Jet *j, const jet::CaloCellFastMap *badCellMap) const |
int | correctionFromCellsInCone (xAOD::Jet *j, const jet::CaloCellFastMap *badCellMap) const |
int | correctionFromClustersBadCells (xAOD::Jet *j) const |
The energy fraction of dead cells are estimated by jet-level estimator using jet profile. Some cells are already corrected in cell-level using neighboring cells, so this fraction is calculated. The estimation by jet-level for those cells corrected in cell-level is also stored to see the difference or combined the corrections.
BCH_CORR_JET= jet level estimation of the energy fraction of dead cells BCH_CORR_CELL= cell level correction, which is already corrected BCH_CORR_JET_FORCELL= jet level estimation for the corrected cells in cell level
The relation and usage of the moment is jet = jet already corrected in cell level jet x ( 1 - BCH_CORR_CELL ) = jet without cell level correction jet x ( 1 - BCH_CORR_CELL + BCH_CORR_JET ) = jet corrected by jet level estimation jet x ( 1 + BCH_CORR_JET - BCH_CORR_JET_FORCELL ) = jet with cell level correction and corrected in jet level for not covered cells
Properties:
Name | Type | Default | Description |
ProcessNJetMax | 999999 | ||
NBadCellLimit | 10000 | limit to calculate the moments, if exceed, giving up the calculation ie) when Calorimeter off | |
AttachCorrCell | True | switch to attach BCH_CORR_CELL | |
AttachCorrDOTX | True | switch to attach BCH_CORR_DOTX | |
AttachCorrJet | True | switch to attach BCH_CORR_JET | |
AttachCorrJetForCell | True | switch to attach BCH_CORR_JET_FORCELL | |
StreamName | "/JetBadChanCorrTool/" | name of stream name | |
ProfileName | "JetBadChanCorrTool.root" | name of profile data | |
ProfileTag | "" | tag to select profile,"" for all in file | |
UseCone | True | boundary of correction, cone or only associated cells | |
ConeDr | 0.4 | boundary of correction in case UseCone=True | |
UseCalibScale | False | scale for calculation of the contribution of bad cells | |
CellCalibrator | calibration tool for cell-level correction |
int JetBadChanCorrTool::correctionFromCellsInJet | ( | xAOD::Jet * | j, | |
const jet::CaloCellFastMap * | badCellMap | |||
) | const [protected] |
bool useCalibTool = m_useCalibScale && jet.signalState()==P4SignalStateCALIBRATED;
StatusCode JetBadChanCorrTool::initialize | ( | void | ) | [virtual] |
Dummy implementation of the initialisation function
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.
int JetBadChanCorrTool::modifyJet | ( | xAOD::Jet & | jet | ) | const [virtual] |
Method to modify a jet. Returns 0 for success.
Implements ISingleJetModifier.