Format() method added; changed Print() - usage of Format()
[u/mrichter/AliRoot.git] / EVGEN / AliGenPythia.cxx
CommitLineData
4c039060 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17$Log$
8cdfd303 18Revision 1.44 2001/11/27 13:13:07 morsch
19Maximum lifetime for long-lived particles to be put on the stack is parameter.
20It can be set via SetMaximumLifetime(..).
21
47fc6bd5 22Revision 1.43 2001/10/21 18:35:56 hristov
23Several pointers were set to zero in the default constructors to avoid memory management problems
24
2685bf00 25Revision 1.42 2001/10/15 08:21:55 morsch
26Vertex truncation settings moved to AliGenMC.
27
4c07486d 28Revision 1.41 2001/10/08 08:45:42 morsch
29Possibility of vertex cut added.
30
a0b2b296 31Revision 1.40 2001/09/25 11:30:23 morsch
32Pass event vertex to header.
33
c5d36e84 34Revision 1.39 2001/07/27 17:09:36 morsch
35Use local SetTrack, KeepTrack and SetHighWaterMark methods
36to delegate either to local stack or to stack owned by AliRun.
37(Piotr Skowronski, A.M.)
38
a99cf51f 39Revision 1.38 2001/07/13 10:58:54 morsch
40- Some coded moved to AliGenMC
41- Improved handling of secondary vertices.
42
fff02fee 43Revision 1.37 2001/06/28 11:17:28 morsch
44SetEventListRange setter added. Events in specified range are listed for
45debugging. (Yuri Kharlov)
46
11dfaf8d 47Revision 1.36 2001/03/30 07:05:49 morsch
48Final print-out in finish run.
49Write parton system for jet-production (preliminary solution).
50
9be6226f 51Revision 1.35 2001/03/09 13:03:40 morsch
52Process_t and Struc_Func_t moved to AliPythia.h
53
f1a48a38 54Revision 1.34 2001/02/14 15:50:40 hristov
55The last particle in event marked using SetHighWaterMark
56
28adac24 57Revision 1.33 2001/01/30 09:23:12 hristov
58Streamers removed (R.Brun)
59
a8a6107b 60Revision 1.32 2001/01/26 19:55:51 hristov
61Major upgrade of AliRoot code
62
2ab0c725 63Revision 1.31 2001/01/17 10:54:31 hristov
64Better protection against FPE
65
0f9e52a3 66Revision 1.30 2000/12/18 08:55:35 morsch
67Make AliPythia dependent generartors work with new scheme of random number generation
68
3356c022 69Revision 1.29 2000/12/04 11:22:03 morsch
70Init of sRandom as in 1.15
71
097ec7c1 72Revision 1.28 2000/12/02 11:41:39 morsch
73Use SetRandom() to initialize random number generator in constructor.
74
1ed25e11 75Revision 1.27 2000/11/30 20:29:02 morsch
76Initialise static variable sRandom in constructor: sRandom = fRandom;
77
ad1df918 78Revision 1.26 2000/11/30 07:12:50 alibrary
79Introducing new Rndm and QA classes
80
65fb704d 81Revision 1.25 2000/10/18 19:11:27 hristov
82Division by zero fixed
83
919c2096 84Revision 1.24 2000/09/18 10:41:35 morsch
85Add possibility to use nuclear structure functions from PDF library V8.
86
811826d8 87Revision 1.23 2000/09/14 14:05:40 morsch
88dito
89
819f84ad 90Revision 1.22 2000/09/14 14:02:22 morsch
91- Correct conversion from mm to cm when passing particle vertex to MC.
92- Correct handling of fForceDecay == all.
93
4451ef92 94Revision 1.21 2000/09/12 14:14:55 morsch
95Call fDecayer->ForceDecay() at the beginning of Generate().
96
00d6ce7d 97Revision 1.20 2000/09/06 14:29:33 morsch
98Use AliPythia for event generation an AliDecayPythia for decays.
99Correct handling of "nodecay" option
100
18edb254 101Revision 1.19 2000/07/11 18:24:56 fca
102Coding convention corrections + few minor bug fixes
103
aee8290b 104Revision 1.18 2000/06/30 12:40:34 morsch
105Pythia takes care of vertex smearing. Correct conversion from Pythia units (mm) to
106Geant units (cm).
107
1512e357 108Revision 1.17 2000/06/09 20:34:07 morsch
109All coding rule violations except RS3 corrected
110
f87cfe57 111Revision 1.16 2000/05/15 15:04:20 morsch
112The full event is written for fNtrack = -1
113Coding rule violations corrected.
114
5ddeb374 115Revision 1.15 2000/04/26 10:14:24 morsch
116Particles array has one entry more than pythia particle list. Upper bound of
117particle loop changed to np-1 (R. Guernane, AM)
118
2a0e6f5b 119Revision 1.14 2000/04/05 08:36:13 morsch
120Check status code of particles in Pythia event
121to avoid double counting as partonic state and final state particle.
122
23211d3e 123Revision 1.13 1999/11/09 07:38:48 fca
124Changes for compatibility with version 2.23 of ROOT
125
084c1b4a 126Revision 1.12 1999/11/03 17:43:20 fca
127New version from G.Martinez & A.Morsch
128
886b6f73 129Revision 1.11 1999/09/29 09:24:14 fca
130Introduction of the Copyright and cvs Log
4c039060 131*/
132
fe4da5cc 133#include "AliGenPythia.h"
fff02fee 134#include "AliGenPythiaEventHeader.h"
18edb254 135#include "AliDecayerPythia.h"
fe4da5cc 136#include "AliRun.h"
137#include "AliPythia.h"
18edb254 138#include "AliPDG.h"
1578254f 139#include <TParticle.h>
18edb254 140#include <TSystem.h>
f87cfe57 141
fe4da5cc 142 ClassImp(AliGenPythia)
143
144AliGenPythia::AliGenPythia()
fff02fee 145 :AliGenMC()
fe4da5cc 146{
18edb254 147// Default Constructor
2685bf00 148 fParticles = 0;
149 fPythia = 0;
18edb254 150 fDecayer = new AliDecayerPythia();
11dfaf8d 151 SetEventListRange();
fe4da5cc 152}
153
154AliGenPythia::AliGenPythia(Int_t npart)
fff02fee 155 :AliGenMC(npart)
fe4da5cc 156{
157// default charm production at 5. 5 TeV
158// semimuonic decay
159// structure function GRVHO
160//
161 fXsection = 0.;
811826d8 162 fNucA1=0;
163 fNucA2=0;
fe4da5cc 164 SetProcess();
165 SetStrucFunc();
886b6f73 166 SetForceDecay();
fe4da5cc 167 SetPtHard();
168 SetEnergyCMS();
18edb254 169 fDecayer = new AliDecayerPythia();
1ed25e11 170 // Set random number generator
097ec7c1 171 sRandom=fRandom;
11dfaf8d 172 SetEventListRange();
fff02fee 173 fFlavorSelect = 0;
174 // Produced particles
175 fParticles = new TClonesArray("TParticle",1000);
c5d36e84 176 fEventVertex.Set(3);
fe4da5cc 177}
178
f87cfe57 179AliGenPythia::AliGenPythia(const AliGenPythia & Pythia)
180{
181// copy constructor
182}
183
fe4da5cc 184AliGenPythia::~AliGenPythia()
185{
5ddeb374 186// Destructor
fe4da5cc 187}
188
11dfaf8d 189void AliGenPythia::SetEventListRange(Int_t eventFirst, Int_t eventLast)
190{
191 // Set a range of event numbers, for which a table
192 // of generated particle will be printed
193 fDebugEventFirst = eventFirst;
194 fDebugEventLast = eventLast;
195 if (fDebugEventLast==-1) fDebugEventLast=fDebugEventFirst;
196}
197
fe4da5cc 198void AliGenPythia::Init()
199{
5ddeb374 200// Initialisation
18edb254 201 SetMC(AliPythia::Instance());
fe4da5cc 202 fPythia=(AliPythia*) fgMCEvGen;
203//
204 fParentWeight=1./Float_t(fNpart);
205//
206// Forward Paramters to the AliPythia object
00d6ce7d 207 fDecayer->SetForceDecay(fForceDecay);
18edb254 208 fDecayer->Init();
00d6ce7d 209
18edb254 210
fe4da5cc 211 fPythia->SetCKIN(3,fPtHardMin);
212 fPythia->SetCKIN(4,fPtHardMax);
811826d8 213 if (fNucA1 > 0 && fNucA2 > 0) fPythia->SetNuclei(fNucA1, fNucA2);
fe4da5cc 214 fPythia->ProcInit(fProcess,fEnergyCMS,fStrucFunc);
18edb254 215
216 // fPythia->Pylist(0);
217 // fPythia->Pystat(2);
fe4da5cc 218// Parent and Children Selection
219 switch (fProcess)
220 {
f1a48a38 221 case kPyCharm:
fff02fee 222 fParentSelect[0] = 411;
223 fParentSelect[1] = 421;
224 fParentSelect[2] = 431;
225 fParentSelect[3] = 4122;
226 fFlavorSelect = 4;
fe4da5cc 227 break;
f1a48a38 228 case kPyCharmUnforced:
fff02fee 229 fParentSelect[0] = 411;
230 fParentSelect[1] = 421;
231 fParentSelect[2] = 431;
232 fParentSelect[3]= 4122;
233 fFlavorSelect = 4;
fe4da5cc 234 break;
f1a48a38 235 case kPyBeauty:
fff02fee 236 fParentSelect[0]= 511;
237 fParentSelect[1]= 521;
238 fParentSelect[2]= 531;
239 fParentSelect[3]= 5122;
240 fParentSelect[4]= 5132;
241 fParentSelect[5]= 5232;
242 fParentSelect[6]= 5332;
243 fFlavorSelect = 5;
fe4da5cc 244 break;
f1a48a38 245 case kPyBeautyUnforced:
fff02fee 246 fParentSelect[0] = 511;
247 fParentSelect[1] = 521;
248 fParentSelect[2] = 531;
249 fParentSelect[3] = 5122;
250 fParentSelect[4] = 5132;
251 fParentSelect[5] = 5232;
252 fParentSelect[6] = 5332;
253 fFlavorSelect = 5;
fe4da5cc 254 break;
f1a48a38 255 case kPyJpsiChi:
256 case kPyJpsi:
fff02fee 257 fParentSelect[0] = 443;
fe4da5cc 258 break;
f1a48a38 259 case kPyMb:
260 case kPyJets:
261 case kPyDirectGamma:
5be1fe76 262 break;
fe4da5cc 263 }
fff02fee 264 AliGenMC::Init();
fe4da5cc 265}
266
267void AliGenPythia::Generate()
268{
5ddeb374 269// Generate one event
00d6ce7d 270 fDecayer->ForceDecay();
a0b2b296 271
9be6226f 272 Float_t polar[3] = {0,0,0};
273 Float_t origin[3] = {0,0,0};
fff02fee 274 Float_t p[3];
5be1fe76 275// converts from mm/c to s
276 const Float_t kconv=0.001/2.999792458e8;
fe4da5cc 277//
fe4da5cc 278 Int_t nt=0;
279 Int_t jev=0;
7921755b 280 Int_t j, kf;
fe4da5cc 281 fTrials=0;
fff02fee 282
283// Set collision vertex position
aee8290b 284 if(fVertexSmear==kPerEvent) {
1512e357 285 fPythia->SetMSTP(151,1);
fe4da5cc 286 for (j=0;j<3;j++) {
fff02fee 287 fPythia->SetPARP(151+j, fOsigma[j]*10.);
fe4da5cc 288 }
aee8290b 289 } else if (fVertexSmear==kPerTrack) {
fe4da5cc 290 fPythia->SetMSTP(151,0);
fe4da5cc 291 }
fff02fee 292// event loop
fe4da5cc 293 while(1)
294 {
084c1b4a 295 fPythia->Pyevnt();
11dfaf8d 296 if (gAlice->GetEvNumber()>=fDebugEventFirst &&
297 gAlice->GetEvNumber()<=fDebugEventLast) fPythia->Pylist(1);
fe4da5cc 298 fTrials++;
47fc6bd5 299
fff02fee 300 fPythia->ImportParticles(fParticles,"All");
301
302//
303//
304//
305 Int_t i;
306
307 Int_t np = fParticles->GetEntriesFast();
a0b2b296 308 if (np == 0 ) continue;
309// Get event vertex and discard the event if the Z coord. is too big
4c07486d 310 TParticle *iparticle = (TParticle *) fParticles->At(0);
311 Float_t distz = iparticle->Vz()/10.;
312 if(TMath::Abs(distz)>fCutVertexZ*fOsigma[2]) continue;
a0b2b296 313//
4c07486d 314 fEventVertex[0] = iparticle->Vx()/10.+fOrigin.At(0);
315 fEventVertex[1] = iparticle->Vy()/10.+fOrigin.At(1);
316 fEventVertex[2] = iparticle->Vz()/10.+fOrigin.At(2);
a0b2b296 317//
fff02fee 318 Int_t* pParent = new Int_t[np];
319 Int_t* pSelected = new Int_t[np];
320 Int_t* trackIt = new Int_t[np];
321 for (i=0; i< np-1; i++) {
322 pParent[i] = -1;
323 pSelected[i] = 0;
324 }
fe4da5cc 325 printf("\n **************************************************%d\n",np);
fff02fee 326 Int_t nc = 0;
f1a48a38 327 if (fProcess != kPyMb && fProcess != kPyJets && fProcess != kPyDirectGamma) {
fff02fee 328 for (i = 0; i<np-1; i++) {
c5d36e84 329 iparticle = (TParticle *) fParticles->At(i);
23211d3e 330 Int_t ks = iparticle->GetStatusCode();
a8228d85 331 kf = CheckPDGCode(iparticle->GetPdgCode());
fff02fee 332// No initial state partons
2a0e6f5b 333 if (ks==21) continue;
fe4da5cc 334//
fff02fee 335// Heavy Flavor Selection
5be1fe76 336//
fff02fee 337 // quark ?
338 kf = TMath::Abs(kf);
339 Int_t kfl = kf;
340 // meson ?
341 if (kfl > 10) kfl/=100;
342 // baryon
343 if (kfl > 10) kfl/=10;
344 if (kfl > 10) kfl/=10;
345
346 Int_t ipa = iparticle->GetFirstMother()-1;
347 Int_t kfMo = 0;
348
349 if (ipa > -1) {
350 TParticle * mother = (TParticle *) fParticles->At(ipa);
351 kfMo = TMath::Abs(mother->GetPdgCode());
352 }
353// printf("\n particle (all) %d %d %d", i, pSelected[i], kf);
354 if (kfl >= fFlavorSelect) {
5be1fe76 355//
fff02fee 356// Heavy flavor hadron or quark
fe4da5cc 357//
fff02fee 358// Kinematic seletion on final state heavy flavor mesons
359 if (ParentSelected(kf) && !KinematicSelection(iparticle, 0))
360 {
361 nc = -1;
362 break;
363 }
364 pSelected[i] = 1;
365// printf("\n particle (HF) %d %d %d", i, pSelected[i], kf);
366 } else {
367// Kinematic seletion on decay products
368 if (fCutOnChild && ParentSelected(kfMo) && ChildSelected(kf)
369 && !KinematicSelection(iparticle, 1))
370 {
371 nc = -1;
372 break;
373 }
fe4da5cc 374//
fff02fee 375// Decay products
376// Select if mother was selected and is not tracked
377
378 if (pSelected[ipa] &&
379 !trackIt[ipa] && // mother will be tracked ?
380 kfMo != 5 && // mother is b-quark, don't store fragments
381 kfMo != 4 && // mother is c-quark, don't store fragments
382 kf != 92) // don't store string
383 {
fe4da5cc 384//
fff02fee 385// Semi-stable or de-selected: diselect decay products:
fe4da5cc 386//
5be1fe76 387//
47fc6bd5 388 if (pSelected[i] == -1 || fDecayer->GetLifetime(kf) > fMaxLifeTime)
fff02fee 389 {
390 Int_t ipF = iparticle->GetFirstDaughter();
391 Int_t ipL = iparticle->GetLastDaughter();
392 if (ipF > 0) for (j = ipF-1; j < ipL; j++) pSelected[j] = -1;
393 }
394// printf("\n particle (decay) %d %d %d", i, pSelected[i], kf);
395 pSelected[i] = (pSelected[i] == -1) ? 0 : 1;
396 }
397 }
398 if (pSelected[i] == -1) pSelected[i] = 0;
399 if (!pSelected[i]) continue;
400 nc++;
401// Decision on tracking
402 trackIt[i] = 0;
403//
404// Track final state particle
405 if (ks == 1) trackIt[i] = 1;
406// Track semi-stable particles
8cdfd303 407 if ((ks ==1) || (fDecayer->GetLifetime(kf) > fMaxLifeTime)) trackIt[i] = 1;
fff02fee 408// Track particles selected by process if undecayed.
409 if (fForceDecay == kNoDecay) {
410 if (ParentSelected(kf)) trackIt[i] = 1;
411 } else {
412 if (ParentSelected(kf)) trackIt[i] = 0;
413 }
414//
415//
416
417 } // particle selection loop
418 if (nc > -1) {
419 for (i = 0; i<np-1; i++) {
420 if (!pSelected[i]) continue;
421 TParticle * iparticle = (TParticle *) fParticles->At(i);
422 kf = CheckPDGCode(iparticle->GetPdgCode());
a0b2b296 423 p[0] = iparticle->Px();
424 p[1] = iparticle->Py();
425 p[2] = iparticle->Pz();
426 origin[0] = fOrigin[0]+iparticle->Vx()/10.;
427 origin[1] = fOrigin[1]+iparticle->Vy()/10.;
428 origin[2] = fOrigin[2]+iparticle->Vz()/10.;
429 Float_t tof = kconv*iparticle->T();
430 Int_t ipa = iparticle->GetFirstMother()-1;
fff02fee 431 Int_t iparent = (ipa > -1) ? pParent[ipa] : -1;
a99cf51f 432 SetTrack(fTrackIt*trackIt[i] ,
fff02fee 433 iparent, kf, p, origin, polar, tof, kPPrimary, nt, 1.);
434 pParent[i] = nt;
a99cf51f 435 KeepTrack(nt);
fff02fee 436 } // SetTrack loop
437 }
438 } else {
439 nc = GenerateMB();
5be1fe76 440 } // mb ?
fff02fee 441
fe4da5cc 442 if (nc > 0) {
5be1fe76 443 jev+=nc;
5ddeb374 444 if (jev >= fNpart || fNpart == -1) {
fe4da5cc 445 fKineBias=Float_t(fNpart)/Float_t(fTrials);
23211d3e 446 printf("\n Trials: %i %i %i\n",fTrials, fNpart, jev);
fe4da5cc 447 break;
448 }
449 }
450 } // event loop
a99cf51f 451 SetHighWaterMark(nt);
fe4da5cc 452// adjust weight due to kinematic selection
453 AdjustWeights();
454// get cross-section
455 fXsection=fPythia->GetPARI(1);
456}
457
fff02fee 458Int_t AliGenPythia::GenerateMB()
fe4da5cc 459{
fff02fee 460 Int_t i, kf, nt, iparent;
461 Int_t nc = 0;
462 Float_t p[3];
463 Float_t polar[3] = {0,0,0};
464 Float_t origin[3] = {0,0,0};
fff02fee 465// converts from mm/c to s
466 const Float_t kconv=0.001/2.999792458e8;
4451ef92 467
fff02fee 468 Int_t np = fParticles->GetEntriesFast();
469 Int_t* pParent = new Int_t[np];
470 for (i=0; i< np-1; i++) pParent[i] = -1;
471
472 for (i = 0; i<np-1; i++) {
473 Int_t trackIt = 0;
474 TParticle * iparticle = (TParticle *) fParticles->At(i);
475 kf = CheckPDGCode(iparticle->GetPdgCode());
476 Int_t ks = iparticle->GetStatusCode();
477 Int_t km = iparticle->GetFirstMother();
478// printf("\n Particle: %d %d %d", i, kf, ks);
479
480 if ((ks == 1 && kf!=0 && KinematicSelection(iparticle, 0)) ||
481 (ks != 1) ||
482 (fProcess == kPyJets && ks == 21 && km == 0 && i>1)) {
483 nc++;
484 if (ks == 1) trackIt = 1;
485 Int_t ipa = iparticle->GetFirstMother()-1;
fe4da5cc 486
fff02fee 487 iparent = (ipa > -1) ? pParent[ipa] : -1;
fe4da5cc 488
489//
fff02fee 490// store track information
a0b2b296 491 p[0] = iparticle->Px();
492 p[1] = iparticle->Py();
493 p[2] = iparticle->Pz();
494 origin[0] = fOrigin[0]+iparticle->Vx()/10.;
495 origin[1] = fOrigin[1]+iparticle->Vy()/10.;
496 origin[2] = fOrigin[2]+iparticle->Vz()/10.;
fff02fee 497 Float_t tof=kconv*iparticle->T();
a99cf51f 498 SetTrack(fTrackIt*trackIt, iparent, kf, p, origin, polar,
a0b2b296 499 tof, kPPrimary, nt);
a99cf51f 500 KeepTrack(nt);
fff02fee 501 pParent[i] = nt;
502 } // select particle
503 } // particle loop
504
505 if (pParent) delete[] pParent;
fe4da5cc 506
fff02fee 507 printf("\n I've put %i particles on the stack \n",nc);
508 MakeHeader();
509 return nc;
510}
fe4da5cc 511
fe4da5cc 512
fff02fee 513void AliGenPythia::FinishRun()
514{
515// Print x-section summary
516 fPythia->Pystat(1);
fe4da5cc 517}
fff02fee 518
fe4da5cc 519void AliGenPythia::AdjustWeights()
520{
5ddeb374 521// Adjust the weights after generation of all events
522//
5ddeb374 523 TParticle *part;
fe4da5cc 524 Int_t ntrack=gAlice->GetNtrack();
525 for (Int_t i=0; i<ntrack; i++) {
2ab0c725 526 part= gAlice->Particle(i);
5ddeb374 527 part->SetWeight(part->GetWeight()*fKineBias);
fe4da5cc 528 }
529}
811826d8 530
531void AliGenPythia::SetNuclei(Int_t a1, Int_t a2)
532{
533// Treat protons as inside nuclei with mass numbers a1 and a2
534 fNucA1 = a1;
535 fNucA2 = a2;
536}
fff02fee 537
538
539void AliGenPythia::MakeHeader()
540{
541// Builds the event header, to be called after each event
542 AliGenEventHeader* header = new AliGenPythiaEventHeader("Pythia");
c5d36e84 543 ((AliGenPythiaEventHeader*) header)->SetProcessType(fPythia->GetMSTI(1));
544 header->SetPrimaryVertex(fEventVertex);
545 gAlice->SetGenEventHeader(header);
fff02fee 546}
811826d8 547
548
f87cfe57 549AliGenPythia& AliGenPythia::operator=(const AliGenPythia& rhs)
550{
551// Assignment operator
552 return *this;
553}
fe4da5cc 554
555
811826d8 556
a8a6107b 557#ifdef never
18edb254 558void AliGenPythia::Streamer(TBuffer &R__b)
559{
560 // Stream an object of class AliGenPythia.
561
562 if (R__b.IsReading()) {
563 Version_t R__v = R__b.ReadVersion(); if (R__v) { }
564 AliGenerator::Streamer(R__b);
565 R__b >> (Int_t&)fProcess;
566 R__b >> (Int_t&)fStrucFunc;
567 R__b >> (Int_t&)fForceDecay;
568 R__b >> fEnergyCMS;
569 R__b >> fKineBias;
570 R__b >> fTrials;
571 fParentSelect.Streamer(R__b);
572 fChildSelect.Streamer(R__b);
573 R__b >> fXsection;
574// (AliPythia::Instance())->Streamer(R__b);
575 R__b >> fPtHardMin;
576 R__b >> fPtHardMax;
577// if (fDecayer) fDecayer->Streamer(R__b);
578 } else {
579 R__b.WriteVersion(AliGenPythia::IsA());
580 AliGenerator::Streamer(R__b);
581 R__b << (Int_t)fProcess;
582 R__b << (Int_t)fStrucFunc;
583 R__b << (Int_t)fForceDecay;
584 R__b << fEnergyCMS;
585 R__b << fKineBias;
586 R__b << fTrials;
587 fParentSelect.Streamer(R__b);
588 fChildSelect.Streamer(R__b);
589 R__b << fXsection;
590// R__b << fPythia;
591 R__b << fPtHardMin;
592 R__b << fPtHardMax;
593 // fDecayer->Streamer(R__b);
594 }
595}
a8a6107b 596#endif
18edb254 597