@@ -9,7 +9,7 @@ namespace fpmc
99 {}
1010
1111 Fpmc::Fpmc ( const char * card ) :
12- herwigVerbosity_ ( 1 ), maxEventsToPrint_( 2 ),
12+ herwigVerbosity_ ( 5 ), maxEventsToPrint_( 2 ),
1313 initialised_ ( false ),
1414 params_ ( FpmcParameters::parseCard( card ) ),
1515 debug_ ( false ), dbg_( std::cout )
@@ -36,7 +36,10 @@ namespace fpmc
3636 << " UTYPINT = " << params_.getString ( " typint" ) << std::endl
3737 << " UTMASS = " << params_.getFloat ( " tmass" ) << std::endl;
3838 }
39+ // --- initialise the common blocks
3940 initHerwig ();
41+
42+ // --- dump the configuration into an output card
4043 params_.writeCard ( " lastrun.card" );
4144 }
4245
@@ -47,9 +50,6 @@ namespace fpmc
4750
4851 dbg_ << " Initializing HERWIG/FPMC" << std::endl;
4952
50- // --- call hwudat to set up HERWIG block data
51- // hwudat();
52-
5353 params_.fetchHWBMCH ( hwbmch_ );
5454 params_.fetchHWPROC ( hwproc_ );
5555 params_.fetchPRTYPE ( prtype_ );
@@ -61,7 +61,17 @@ namespace fpmc
6161 << " TYPINT = " << prtype_.TYPINT << " \n "
6262 << " IPROC = " << hwproc_.IPROC << " \n " ;
6363 }
64- hwigin_ ();
64+ // --- call hwudat to set up HERWIG block data
65+ // hwudat();
66+ std::cout << " aaaaaaaaaaa" << std::endl;
67+
68+ // --- sets the input parameters
69+ hwigin ();
70+
71+ for ( unsigned int i = 0 ; i < 500 ; ++i ) {
72+ std::cout << " hwprop for particle " << i << " : " << hwprop_.RLTIM [i] << " \t " << hwprop_.RMASS [i] << " \t " << hwprop_.RSPIN [i] << " \t " << hwprop_.ICHRG [i] << " \t " << hwprop_.IDPDG [i] << " \t " << hwprop_.IFLAV [i] << std::endl;
73+ }
74+ // exit(0);
6575
6676 params_.fetchHWPRAM ( hwpram_ );
6777 hwpram_.IPRINT = herwigVerbosity_;
@@ -98,7 +108,6 @@ namespace fpmc
98108 params_.fetchHWHARD ( hwhard_ );
99109
100110 params_.fetchXSECT ( xsect_ );
101- std::cout << " --------->" << xsect_.GAPSPR << std::endl;
102111 params_.fetchPDFS ( pdfs_ );
103112 params_.fetchAAANOMAL ( aaanomal_ );
104113 params_.fetchAAEXOTICAL ( aaexotical_ );
0 commit comments