Ignore:
Timestamp:
07/10/01 12:41:13 (23 years ago)
Author:
jlopez
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/getThreshold.C

    r855 r861  
    1 void getThreshold( char* filename = "data/oscar_protons.root")
     1void getThreshold( char* filename = "/hdb1/users/jlopez/temp_loop.root")
    22{
    33    //
    4     // This macro fill the container MMcEnerThre using the task
    5     // MMcEnerThreCalc and shows the results.
     4    // This macro fill the container MHMcEnergies using the task
     5    // MMcThresholdCalc and shows the results.
    66    //
    77    MParList  parlist;
     
    1212    //
    1313    // Setup the parameter list
    14     // - You need create the container MMcEnerThre.
     14    // - You need create the container MHMcEnergies.
    1515    //    + You need to put the number of trigger conditions when
    1616    //      you declarete the MHMcEnergies
     
    1818    //      taking only the trigger information from MMcTrig
    1919    //
    20     const UInt_t numtriggerconditions = 1;
     20    const UInt_t numtriggerconditions = 5;
    2121
    2222    MHMcEnergies *hists = new MHMcEnergies(numtriggerconditions);
     
    4949    // Now you can display the results
    5050    //
    51     for (UInt_t i=0; i<numtriggerconditions; i++)
     51    for (UInt_t i=0; i<numtriggerconditions; i++) {
    5252        ((*hists)[i]).Draw();
     53        if (getchar()=='q') break;
     54    }
    5355}
Note: See TracChangeset for help on using the changeset viewer.