#include #include "MMcTrig.hxx" //========== // MMcTrig // // This class handles and contains the MonteCarlo information // with which the events have been generated // This information exists for each event. ClassImp(MMcTrig) MMcTrig::MMcTrig() { // // default constructor // set all values to zero *fName = "MMcTrig"; *fTitle = "Trigger info from Monte Carlo"; Int_t i,j; fNumFirstLevel = 0 ; for(i=0;i1 if the pixel npix was fired when the nfirstlevel // first level trigger happened, 0 if not. // Byte_t ret=0; Byte_t reminder; Int_t body; body=npix/8; reminder=(Byte_t)(pow(2,npix%8)); ret=reminder&fPixelsFirst[body][nfirstlevel]; return(ret); }