ATLAS Offline Software
Public Member Functions | List of all members
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. More...
 
virtual double getMassError (const ConstraintFitInput &firstInput, const ConstraintFitInput &secondInput=ConstraintFitInput())=0
 Calculate the mass error without fit - use just the inputs. More...
 
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. More...
 
virtual double getMassError (const ConstraintFitOutput &fitOutput, const ConstraintFitOutput &secondFitOutput)=0
 Calculate the mass error with the result of two mass fits
More...
 
virtual void addParticle (const xAOD::Muon &mu, ConstraintFitInput &input, MassConstraintMuonType muonType=isCombMCMT)=0
 Add muon to input, must provide the resolution Scale Factor. More...
 
virtual void addParticle (const xAOD::Electron &el, float elEnergyRes, ConstraintFitInput &input)=0
 Add electron to input, must provide the electron energy resolution. More...
 
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. More...
 
virtual void print () const =0
 Print the state of the tool. More...
 

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()

virtual void asg::IAsgTool::print ( ) const
pure virtualinherited

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