1 #ifndef ALIEMCALTRIGGERWEIGHTHANDLER_H 2 #define ALIEMCALTRIGGERWEIGHTHANDLER_H 11 class AliGenPythiaEventHeader;
104 void SetWeightForBin(
double ptmin,
double ptmax,
double weight);
111 double GetEventWeight(
const AliMCEvent *
const event)
const;
117 double GetEventWeight(
const AliGenPythiaEventHeader *
const header)
const;
void SetPtRange(Double_t ptmin, Double_t ptmax)
AliEMCalTriggerPtHardWeight(double ptmin, double ptmax, double weight)
AliEMCalTriggerPtHardWeight()
Double_t GetPtMax() const
void SetWeightModel(const TF1 *model)
void SetWeight(double weight)
Double_t GetWeight() const
bool fUseCrossSection
Calculate weight using pt-hard.
double fPtMax
Max of the pthard bin.
Double_t GetPtMin() const
TObjArray * fBinWeights
Container for weights in a given pt-hard bin.
Analysis of high- tracks in triggered events.
virtual ~AliEMCalTriggerPtHardWeight()
const TF1 * fWeightModel
Weight model.
bool IsSelected(Double_t pthard) const
void GetPtLimits(Double_t &ptmin, Double_t &ptmax) const
double fWeight
Weight being applied to the pt-hard bin.
double fPtMin
Min of the pthard bin.
void SetUseCrossSection(bool useCrossSection)