#include "MMcFadcHeader.hxx" #include //========== // MMcFadcHeader // // This class contains the MonteCarlo information // of the FADC simulation for the current run. // The information is saved only once, whatever the // number of events is ClassImp(MMcFadcHeader); using namespace std; MMcFadcHeader::MMcFadcHeader(const char *name, const char *title) { // // default constructor fName = name ? name : "MMcFadcHeader"; fTitle = title ? title : "Fadc Header Information from Monte Carlo"; // set all values to zero Int_t i; fFadcShape=0.0; fAmplFadc=MFADC_RESPONSE_INTEGRAL; fFwhmFadc=MFADC_RESPONSE_FWHM; fAmplFadcOuter=MFADC_RESPONSE_INTEGRAL; fFwhmFadcOuter=MFADC_RESPONSE_FWHM; for(i=0;i