ATLAS Offline Software
Loading...
Searching...
No Matches
ZMassConstraint::IConstraintFit Class Referenceabstract

#include <IConstraintFit.h>

Inheritance diagram for ZMassConstraint::IConstraintFit:
Collaboration diagram for ZMassConstraint::IConstraintFit:

Public Member Functions

virtual StatusCode doMassFit (const ConstraintFitInput &input, ConstraintFitOutput &output)=0
 Declare the interface that the class provides.
virtual double getMassError (const ConstraintFitInput &firstInput, const ConstraintFitInput &secondInput=ConstraintFitInput())=0
 Calculate the mass error without fit - use just the inputs.
virtual double getMassError (const ConstraintFitOutput &fitOutput, const ConstraintFitInput &extraInput=ConstraintFitInput())=0
 Calculate the mass error with the result of fit and possible additional input (4-vecs/cov mat) that has NOT been fit.
virtual double getMassError (const ConstraintFitOutput &fitOutput, const ConstraintFitOutput &secondFitOutput)=0
 Calculate the mass error with the result of two mass fits.
virtual void addParticle (const xAOD::Muon &mu, ConstraintFitInput &input, MassConstraintMuonType muonType=isCombMCMT)=0
 Add muon to input, must provide the resolution Scale Factor.
virtual void addParticle (const xAOD::Electron &el, float elEnergyRes, ConstraintFitInput &input)=0
 Add electron to input, must provide the electron energy resolution.
virtual void addFSRParticle (const xAOD::IParticle &part, const TLorentzVector &fsr4Vec, ConstraintFitInput &input)=0
 Add in FSR photon to input, must provide BOTH the IParticle AND 4vec of FSR photon The IParticle is used to identify type of particle: electron/unconverted photon/converted photon.
virtual void print () const =0
 Print the state of the tool.

Detailed Description

Definition at line 41 of file IConstraintFit.h.

Member Function Documentation

◆ addFSRParticle()

virtual void ZMassConstraint::IConstraintFit::addFSRParticle ( const xAOD::IParticle & part,
const TLorentzVector & fsr4Vec,
ConstraintFitInput & input )
pure virtual

Add in FSR photon to input, must provide BOTH the IParticle AND 4vec of FSR photon The IParticle is used to identify type of particle: electron/unconverted photon/converted photon.

Implemented in ZMassConstraint::ConstraintFit.

◆ addParticle() [1/2]

virtual void ZMassConstraint::IConstraintFit::addParticle ( const xAOD::Electron & el,
float elEnergyRes,
ConstraintFitInput & input )
pure virtual

Add electron to input, must provide the electron energy resolution.

Implemented in ZMassConstraint::ConstraintFit.

◆ addParticle() [2/2]

virtual void ZMassConstraint::IConstraintFit::addParticle ( const xAOD::Muon & mu,
ConstraintFitInput & input,
MassConstraintMuonType muonType = isCombMCMT )
pure virtual

Add muon to input, must provide the resolution Scale Factor.

Implemented in ZMassConstraint::ConstraintFit.

◆ doMassFit()

virtual StatusCode ZMassConstraint::IConstraintFit::doMassFit ( const ConstraintFitInput & input,
ConstraintFitOutput & output )
pure virtual

Declare the interface that the class provides.

Perform the constrained mass fit

Implemented in ZMassConstraint::ConstraintFit.

◆ getMassError() [1/3]

virtual double ZMassConstraint::IConstraintFit::getMassError ( const ConstraintFitInput & firstInput,
const ConstraintFitInput & secondInput = ConstraintFitInput() )
pure virtual

Calculate the mass error without fit - use just the inputs.

Implemented in ZMassConstraint::ConstraintFit.

◆ getMassError() [2/3]

virtual double ZMassConstraint::IConstraintFit::getMassError ( const ConstraintFitOutput & fitOutput,
const ConstraintFitInput & extraInput = ConstraintFitInput() )
pure virtual

Calculate the mass error with the result of fit and possible additional input (4-vecs/cov mat) that has NOT been fit.

Implemented in ZMassConstraint::ConstraintFit.

◆ getMassError() [3/3]

virtual double ZMassConstraint::IConstraintFit::getMassError ( const ConstraintFitOutput & fitOutput,
const ConstraintFitOutput & secondFitOutput )
pure virtual

Calculate the mass error with the result of two mass fits.

Implemented in ZMassConstraint::ConstraintFit.

◆ print()


The documentation for this class was generated from the following file: