JetCleaningTool Class Reference

Class for selecting jets that pass cleaning cuts. More...

#include <JetCleaningTool.h>

Inheritance diagram for JetCleaningTool:
asg::AsgTool IJetSelector asg::IAsgTool asg::IAsgTool

List of all members.

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::TAcceptaccept (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::TAcceptaccept (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

Detailed Description

Class for selecting jets that pass cleaning cuts.

Author:
Zach Marshall
Date:
Feb 2014

Member Enumeration Documentation

Levels of cut


Constructor & Destructor Documentation

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


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1