AliPhysics  vAN-20150506 (1fbaa09)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliEMCalTriggerWeightHandler Class Reference

Weight handler. More...

#include <AliEMCalTriggerWeightHandler.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalTriggerWeightHandler:

Public Member Functions

 AliEMCalTriggerWeightHandler ()
virtual ~AliEMCalTriggerWeightHandler ()
void SetUsePtHard (bool usePtHard)
void SetWeightModel (TF1 *model)
double GetEventWeight (const AliMCEvent *const event) const

Private Attributes

TF1 * fWeightModel
 Weight model. More...
bool fUsePtHard
 Calculate weight using pt-hard. More...

Detailed Description

Weight handler.

Weight handler, assigning an event-dependent weight. The weight is coming from a weight model, which is based on an analytic description. For the moment it is assumed that the event depends on the \( p_{t} \) of the hard interaction.

Definition at line 36 of file AliEMCalTriggerWeightHandler.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerWeightHandler::AliEMCalTriggerWeightHandler ( )


Definition at line 31 of file AliEMCalTriggerWeightHandler.cxx.

virtual EMCalTriggerPtAnalysis::AliEMCalTriggerWeightHandler::~AliEMCalTriggerWeightHandler ( )

Definition at line 39 of file AliEMCalTriggerWeightHandler.h.

Member Function Documentation

double EMCalTriggerPtAnalysis::AliEMCalTriggerWeightHandler::GetEventWeight ( const AliMCEvent *const  event) const
void EMCalTriggerPtAnalysis::AliEMCalTriggerWeightHandler::SetUsePtHard ( bool  usePtHard)

Defines whether we use the \( p_{t} \) hard value of an event.


Definition at line 45 of file AliEMCalTriggerWeightHandler.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerWeightHandler::SetWeightModel ( TF1 *  model)

Set the weight model

modelThe weight model

Definition at line 51 of file AliEMCalTriggerWeightHandler.h.

Member Data Documentation

bool EMCalTriggerPtAnalysis::AliEMCalTriggerWeightHandler::fUsePtHard

Calculate weight using pt-hard.

Definition at line 57 of file AliEMCalTriggerWeightHandler.h.

Referenced by GetEventWeight(), and SetUsePtHard().

TF1* EMCalTriggerPtAnalysis::AliEMCalTriggerWeightHandler::fWeightModel

Weight model.

Definition at line 56 of file AliEMCalTriggerWeightHandler.h.

Referenced by GetEventWeight(), and SetWeightModel().

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