Class for selecting jets that pass cleaning cuts. More...
#include <JetCleaningTool.h>
Public Types | |
enum | CleaningLevel { LooseBad, LooseBadLLP, LooseBadTrigger, TightBad, UnknownCut } |
Public Member Functions | |
JetCleaningTool (const std::string &name="JetCleaningTool") | |
JetCleaningTool (const CleaningLevel alevel, const bool doUgly=false) | |
JetCleaningTool (const std::string &name, const CleaningLevel alevel, const bool doUgly=false) | |
virtual | ~JetCleaningTool () |
virtual StatusCode | initialize () |
const Root::TAccept & | accept (const double emf, const double hecf, const double larq, const double hecq, const double sumpttrk, const double eta, const double pt, const double fmax, const double negE, const double AverageLArQF, const int fMaxIndex) const |
const Root::TAccept & | accept (const xAOD::Jet &jet) const |
int | keep (const xAOD::Jet &jet) const |
bool | containsHotCells (const xAOD::Jet &jet, const unsigned int runNumber) const |
CleaningLevel | getCutLevel (const std::string) const |
std::string | getCutName (const CleaningLevel) const |
Class for selecting jets that pass cleaning cuts.
Levels of cut
JetCleaningTool::JetCleaningTool | ( | const std::string & | name = "JetCleaningTool" |
) |
Standard constructor
JetCleaningTool::JetCleaningTool | ( | const CleaningLevel | alevel, | |
const bool | doUgly = false | |||
) |
Cut-based constructor
JetCleaningTool::JetCleaningTool | ( | const std::string & | name, | |
const CleaningLevel | alevel, | |||
const bool | doUgly = false | |||
) |
Cut and string based constructor
JetCleaningTool::~JetCleaningTool | ( | ) | [virtual] |
Standard destructor
const Root::TAccept & JetCleaningTool::accept | ( | const xAOD::Jet & | jet | ) | const |
The D3PDReader accept method
const Root::TAccept & JetCleaningTool::accept | ( | const double | emf, | |
const double | hecf, | |||
const double | larq, | |||
const double | hecq, | |||
const double | sumpttrk, | |||
const double | eta, | |||
const double | pt, | |||
const double | fmax, | |||
const double | negE, | |||
const double | AverageLArQF, | |||
const int | fMaxIndex | |||
) | const |
The main accept method: the actual cuts are applied here
bool JetCleaningTool::containsHotCells | ( | const xAOD::Jet & | jet, | |
const unsigned int | runNumber | |||
) | const |
Hot cell checks
JetCleaningTool::CleaningLevel JetCleaningTool::getCutLevel | ( | const std::string | s | ) | const |
Helpers for cut names
StatusCode JetCleaningTool::initialize | ( | void | ) | [virtual] |
Initialize method
Reimplemented from asg::AsgTool.
int JetCleaningTool::keep | ( | const xAOD::Jet & | jet | ) | const [inline, virtual] |
Method to select. Returns true if jet is selected.
Implements IJetSelector.