You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

HOW TO LOOK AT DATA 

Login into the Offline PC (pcglast30) as:
 
User = online

Password = ***** (ask someone)

Download data from SLAC:  

Done automatically.

Data available in the directory /data/glast/pipelineData with same subdirectories as at SLAC.

You can check which runs have been reprocessed at SLAC by pipeline:

  1. go to  https://confluence.slac.stanford.edu/display/BeamTest/Home  (SLAC confluence page)
  2. go into "Operations" part of the page, and click into Data Monitoring where you find a list of runs.
  3. Deatailed informations about a given run can be found going back to the confluence page, down in the Data Analysis part, in the line Data Access click on Summary of Run Types

 

Run the OfflineMonitor

Shifters should run the OfflineMonitor version on pcglast30 in the directory /home/online/OfflineMonitor_Shift

The macro RunIt.C reads merit and BTtuple for a given run receiving in input the run information coded as following:

runnumber(5 digits)energy(6 digits)theta(2 digits)particle type(2 digits)magnetic_filed_current(3 digits)xposition(3 digits)

hence you should

Create a link to the downloaded data with the correct name:

  1. Go to the directory   /home/online/OfflineMonitor_Shift and run the script link.pl with the online run number as argument, e.g. for run 1181

 > ./link.pl 700001181

that creates a link in the directory /home/online/OfflineMonitor_Shift/data with the correct names "new file name_merit.root" and "new file name_BTtuple.root"

where new file name is:

runnumber(5 digits)energy(6 digits)theta(2 digits)particle type(2 digits)magnetic filed current(3 digits)xposition(3 digits)

Example for the run  700001181:        711810025000007600201

The links will be:

ln -s slac/recon-v1r030603p4_700000684_merit_merit.root 706840010000001000120_merit.root

ln -s slac/svacTuple-v1r030603p4_700000684_svac_svac.root 706840010000001000120_BTtuple.root

 

       3.   Open the file RunIi.C in /home/online/OfflineMonitor/   and put the encrypted name as

                            main("706840010000001000120");

       4.   Run the macro

                            root > .x RunIt.C

at the beginning check the output messages in the root window

run numer, energy, angle .... number of events in the file merit

It will open a ghostview window showing results:

  • if MC data for that run configuration exist, histograms are compared to the corresponding MC
  • otherwise only data distributions are shown

Results are saved in /home/online/OfflineMonitor/output/Histos6840010000001000120.root
                                  /home/online/OfflineMonitor/output/Report....70706840010000001000120.ps

 

LIST OF VARIABLES IN THE PLOTS 

For more details refer to descritpion of  merit and BTtuple  ( svac)  tuples .

  ============= 1D Histo List ===================
  //        Tracker
  ---------------------------
    TkrNumTracks          Number of tracks found (Maximum is set by TkrRecon, currently 10)
    Tkr1FirstLayer           First layer in track (layer 0 is the bottom of the tracker)
    Tkr1Gaps                  Total number of gaps in track
    Tkr1[X/Y/Z]Dir            Track [x/y/z] direction cosine
    Vtx[X/Y/Z]Dir              [x/y/z] direction cosine of the (1st) vertex
    Vtx[X/Y/Z]0                 [x/y/z] coordinate of vertex; if the two tracks making up the vertex are nearly parallel, the coordinates of the vertex may become very large
    Vtx[X/Y/Z]in                [x/y/z] coordinate of entry point in the CU
    DirErr                         PSF (only for tagged gammas)
    TkrNumDigis              Number of TKR digis. A digi is produced whenever there is at least one strip hit in a silicon plane

//  -------------------------
  //       Calorimeter
  //-------------------------
    CalEnergyCorr         Cal Energy corrected layer-by-layer for edges and leakage
    Cal[X/Y/Z]Ecntr         Energy centroid in [x/y/z]
    CalMipRatio              Ratio of measured energy to that expected from a minimum-ionizing particle
    Cal[X/Y/Z]Dir            [x/y/z] direction cosine of CAL "track"
    CalTrackDoca         Distance between the projected vertex (or track if only one track) and the energy centroid, evaluated at the z of the centroid
    EnergyErr                Error on photon reconstructed energy (only for tagged gammas)
    CalTransRms          rms of transverse position measurements
  //-------------------------
  //      ACD
  //------------------------
    AcdTotalEnergy            Total energy deposited in ACD
    AcdTileCount                 Number of tiles fired
  //-------------------------
  //      Trigger
  //-------------------------
   GEM Conditions Summary word               Trigger Summary word     ROI = 0x01          CNO = 0x10
                                                                                                                TKR = 0x02          PERIODIC = 0x2
                                                                                                                CALLE = 0x04      SOLICITED = 0x4
                                                                                                                CALHE = 0x08     EXTERNAL = 0x80

   GEM Condition arrival times                       time distance in 50 ns ticks from the condition that opened the trigger window (30 ticks wide).
                                                                       See section 4.13 in the GEM document for a detailed description.

   GEM Condition arrival times                       for events with the corresponding ConditionSummary true          
  //-------------------------
  //      EVENT
  //-------------------------
  EvtEnergyCorr            Event energy formed by adding the corrected tracker energy (TkrEnergyCorr) to the layer-by-layer corrected cal. energy CalEnergyCorr

 //--------------------             
 // Ancillary                 <span style="color: #cc0000"><strong>NO CORRECT INFO FROM ANCILLARY IN BTtuple YET</strong></span>
 //--------------------             
    TAG_XYZ[3,4]         X,Y,Z coordinates of highest cluster in each of the four silicon tagger station
      

 

 

   

  • No labels