]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Allow for triggered jets with simplified topology: Exact pT, back-to-back
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 Jan 2002 20:17:55 +0000 (20:17 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 Jan 2002 20:17:55 +0000 (20:17 +0000)
EVGEN/AliGenHijing.cxx
EVGEN/AliGenHijing.h

index ceba863bb4b55a13f960f2a8433cbc39e4a449bf..857c17ad0272dfffdd031b46a809f57387920d5c 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.35  2001/12/13 07:56:25  hristov
+Set pointers to zero in the default constructor
+
 Revision 1.34  2001/12/11 16:55:42  morsch
 Correct initialization for jet phi-range.
 
@@ -189,6 +192,9 @@ AliGenHijing::AliGenHijing(Int_t npart)
     fPtMinJet   = -2.5;        
     fRadiation  =  1;
     fEventVertex.Set(3);
+//
+    SetSimpleJets();
+    
 //
 // Set random number generator   
     sRandom = fRandom;
@@ -228,9 +234,8 @@ void AliGenHijing::Init()
     fHijing->SetIHPR2(12, fDecaysOff);    
     fHijing->SetIHPR2(21, fKeep);
     fHijing->SetHIPR1(10, fPtMinJet);  
+    fHijing->SetHIPR1(50, fSimpleJet);
     fHijing->Initialize();
-
-    
 //
     if (fEvaluate) EvaluateCrossSections();
 //
@@ -663,6 +668,9 @@ Bool_t AliGenHijing::CheckTrigger()
     return triggered;
 }
 
+
+
+
 AliGenHijing& AliGenHijing::operator=(const  AliGenHijing& rhs)
 {
 // Assignment operator
index 9f93ce43f90b0837a2ce9fe89556a36db3e0b577..72828c26c730c8fa46744aebdaf5e69e6d41cba8 100644 (file)
@@ -58,7 +58,9 @@ class AliGenHijing : public AliGenMC
     virtual void    SetSelectAll(Int_t flag=0)        {fSelectAll  = flag;}
     virtual void    SetRadiation(Int_t flag=3)        {fRadiation  = flag;}    
     virtual void    SetSpectators(Int_t spects=1)     {fSpectators = spects;}
-    virtual void    SetPtMinJet(Float_t ptmin)        {fPtMinJet   = ptmin;}
+    virtual void    SetPtJet(Float_t ptmin)           {fPtMinJet   = ptmin;}
+    virtual void    SetSimpleJets(Int_t flag=0)       {fSimpleJet  = flag;}
+   
     virtual void    SetJetEtaRange(Float_t etamin = -20., Float_t etamax = 20.)
        {fEtaMinJet = etamin; fEtaMaxJet = etamax;}
     virtual void    SetJetPhiRange(Float_t phimin = -180., Float_t phimax = 180.)
@@ -114,6 +116,7 @@ class AliGenHijing : public AliGenMC
     Float_t     fPhiMinJet;      // At least one of triggered Jets must be in this
     Float_t     fPhiMaxJet;      // phi range
     Int_t       fRadiation;      // Flag to switch on/off initial and final state radiation
+    Int_t       fSimpleJet;      // Flag to produce simple tiggered jet topology
     
 // ZDC proposal (by Chiara) to store num. of SPECTATORS protons and neutrons
     Int_t      fSpecn;          // Num. of spectator neutrons