Ignore:
Timestamp:
10/26/01 10:11:30 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcTrig.cxx

    r686 r991  
     1#include "MMcTrig.hxx"
     2
    13#include <iostream.h>
    2 #include "MMcTrig.hxx"
    34
    45
     
    1213
    1314
    14 ClassImp(MMcTrig)
     15ClassImp(MMcTrig);
    1516
    1617
     
    4950}
    5051
     52inline void MMcTrig::SetTime(Float_t t, Int_t i)
     53{
     54    if (i>TOTAL_TRIGGER_TIME/LEVEL1_DEAD_TIME+1  || i<1)
     55    {
     56        cout << "fNumFirstLevel out of range. Time will be -99" << endl;
     57        return;
     58    }
     59
     60    fTimeFirst[i-1]=t;
     61}
     62
    5163void MMcTrig::Clear(Option_t *opt) {
    5264  //
     
    7183}
    7284
    73 void MMcTrig::Print(Option_t *Option) {
     85void MMcTrig::Print(Option_t *Option) const {
    7486  //
    7587  //  print out the data member on screen
     
    7890
    7991  cout <<endl << "Monte Carlo Trigger output:" <<endl;
    80   cout << " First  Level Trigger in this Event : "<<fNumFirstLevel<<endl;
    81   cout << " Times of first  Level Trigger in this Event : ";
     92  cout << " First  Level Trigger in this Event: "<<fNumFirstLevel<<endl;
     93  cout << " Times of first  Level Trigger in this Event: ";
    8294  for (i=0;i<fNumFirstLevel;i++){
    8395    cout<< fTimeFirst[i]<<"-";
     
    91103  }
    92104  cout<<endl;
    93   cout << " Second Level Trigger in this Event : " << fNumSecondLevel << endl;
     105  cout << " Second Level Trigger in this Event: " << fNumSecondLevel << endl;
    94106  cout << endl ;
    95107}
Note: See TracChangeset for help on using the changeset viewer.