Resonances added. (G. Martinez)
[u/mrichter/AliRoot.git] / EVGEN / AliGenMUONCocktail.h
CommitLineData
84954c47 1#ifndef ALIGENMUONCOCKTAIL_H
2#define ALIGENMUONCOCKTAIL_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
88e5db43 6
84954c47 7/* $Id$ */
9538aedd 8//
84954c47 9// Classe to create the MUON coktail for physics in the Alice muon spectrometer
9538aedd 10// The followoing muons sources are included in this cocktail:
11// jpsi, upsilon, non-correlated open and beauty, and muons from pion and kaons.
12// The free parameeters are :
13// pp reaction cross-section
14// production cross-sections in pp collisions and
15// branching ratios in the muon channel
16// Hard probes are supposed to scale with Ncoll and hadronic production with (0.8Ncoll+0.2*Npart)
17// There is a primordial trigger wiche requires :
18// a minimum muon multiplicity above a pT cut in a theta acceptance cone
19//
84954c47 20// Gines Martinez, jan 2004, Nantes martinez@in2p3.fr
21
22#include "AliGenCocktail.h"
23
24class AliGenCocktailEntry;
25
26
27class AliGenMUONCocktail : public AliGenCocktail
28{
29 public:
30 AliGenMUONCocktail();
31 AliGenMUONCocktail(const AliGenMUONCocktail &cocktail);
32 virtual ~AliGenMUONCocktail();
33 virtual void Init();
34 virtual void Generate();
9538aedd 35 Int_t GetMuonMultiplicity() const {return fMuonMultiplicity;}
36 Int_t GetNSucceded() const {return fNSucceded;}
37 Int_t GetNGenerated() const {return fNGenerated;}
38 Float_t GetNumberOfCollisions()const {return fNumberOfCollisions;}
39 Float_t GetNumberOfParticipants() const {return fNumberOfParticipants;}
40 Float_t GetMuonPtCut() const { return fMuonPtCut;}
84954c47 41
42 void SetMuonMultiplicity(Int_t MuonMultiplicity) { fMuonMultiplicity= MuonMultiplicity;}
43 void SetNumberOfCollisions(Float_t NumberOfCollisions) { fNumberOfCollisions= NumberOfCollisions;}
44 void SetNumberOfParticipants(Float_t NumberOfParticipants) { fNumberOfParticipants= NumberOfParticipants;}
45 void SetMuonPtCut(Float_t PtCut) { fMuonPtCut = PtCut;}
46 void SetMuonThetaCut(Float_t ThetaMin, Float_t ThetaMax)
47 { fMuonThetaMinCut=ThetaMin;
48 fMuonThetaMaxCut=ThetaMax; }
49
50 protected:
51
52 //
53 private:
54 Float_t fTotalRate; // Total rate of the full cocktail processes
55 Int_t fMuonMultiplicity; // Muon multiplicity for the primordial trigger
56 Float_t fMuonPtCut; // Transverse momentum cut for muons
57 Float_t fMuonThetaMinCut; // Minimum theta cut for muons
58 Float_t fMuonThetaMaxCut; // Maximum theta cut for muons
59 Int_t fNSucceded; // Number of Succes in the dimuon pair generation in the acceptance
60 Int_t fNGenerated; // Number of generated cocktails
61 Float_t fNumberOfCollisions; // Average Number of collisions in the centrality class
62 Float_t fNumberOfParticipants; // Average Number of participants in the centrality class
63
64 ClassDef(AliGenMUONCocktail,1) // MUON cocktail for physics in the Alice muon spectrometer
65};
66
67#endif
68
69
70
71
72