egammaLayerRecalibTool Class Reference

Inheritance diagram for egammaLayerRecalibTool:
asg::AsgMessaging

List of all members.

Public Types

typedef std::vector< std::pair
< InputModifier
*, GetAmountBase * > > 
ModifiersList

Public Member Functions

 egammaLayerRecalibTool (const std::string &name, const std::string &tune)
 egammaLayerRecalibTool (const std::string &tune)
CP::CorrectionCode applyCorrection (xAOD::Egamma &, const xAOD::EventInfo &event_info) const
CP::CorrectionCode scale_inputs (StdCalibrationInputs &inputs) const
void add_scale (InputModifier *modifier, GetAmountBase *amount)
void add_scale (const std::string &scale)
void clear_corrections ()

Static Public Member Functions

static std::pair< std::string,
egammaLayerRecalibTool * > 
create (const std::string &type, const std::string &args)

Constructor & Destructor Documentation

egammaLayerRecalibTool::egammaLayerRecalibTool ( const std::string &  name,
const std::string &  tune 
)
Parameters:
tune string to configure the tuning

  • "" the tool has no effect
  • as default it is "current_default"
  • "test1" just for testing

Member Function Documentation

void egammaLayerRecalibTool::add_scale ( const std::string &  scale  ) 

add scale correction from string. Can be called multiple times. The list of valid values is on the twiki

void egammaLayerRecalibTool::add_scale ( InputModifier modifier,
GetAmountBase amount 
)

add custom layer scale correction. Can be called multiple times.

void egammaLayerRecalibTool::clear_corrections (  ) 

remove all the scale corrections

std::pair< std::string, egammaLayerRecalibTool * > egammaLayerRecalibTool::create ( const std::string &  type,
const std::string &  args 
) [static]

helper to create a tool from a string (useful for command line arguments)

CP::CorrectionCode egammaLayerRecalibTool::scale_inputs ( StdCalibrationInputs inputs  )  const

apply layer calibration to the

Parameters:
inputs 

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

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1