1 VEGAS DIAGNOSTICS TOOLS Tulun Ergin University of Massachusetts, Amherst
2 OUTLINE General Overview End Products of VEGAS Stages 1 4 Macros General Info Workshop The vadisplay GUI Workshop Other Tools Workshop
3 USEFUL WEB SITES VEGAS USER'S MANUAL http://www.adlerplanetarium.org/veritas/private/oawg/man/ OAWG WIKI PAGE FOR DIAGNOSTICS WITH VEGAS: http://www.ferdia.ucd.ie/oawg/wiki/index.php/diagnostics
4 VEGAS ENDPRODUCTS FROM STAGE 1 Stage 1 : Calculates Calibration Paramters VAQStatsData: Calculates charge in each channel per telescope VARelGainData: Each channel's relative gain is calculated with respect to the mean charge over over all channels in the camera Using laser runs only channels with PMT signal is is used to calculate the mean VATOffsetData: Holds time offsets of the pulses on each channel due to different cable length Also holds time offsets of telescopes VAPixelStatusData: ON/OFF status and HV changes of each channel over the run VAPointingData: Pointing Info of telescopes as read from the DB
5 VEGAS ENDPRODUCTS FROM STAGE 1 VACalibrationData: Holds pointers to all the data classes > VARunHeader, VAArrayInfo, VAPixelStatusData, VAQStatsData, VATOffsetData and pointing info VALaserData: Holds pointers to all the data classes > VARunHeader, VAArrayInfo, VARelGainData, VAPixelStatusData, VAQStatsData, VATOffsetData
6 VEGAS ENDPRODUCTS FROM STAGE 2 Stage 2 : Application of Calibration produces Calibrated Events VATraceData: Holds calibration info of a single channel from a single event. Only non zero suppressed events exist. VACalibratedTelEvent: Holds vector of VATraceData objects and telescope Pointing and Telescope ID info per telescope per event VACalibratedArrayEvent: Holds array of VACalibratedTelEvents with the total number of telescopes in the event
7 VEGAS ENDPRODUCTS FROM STAGE 2 Stage 3 : Parameterized Events VAParameterData: Holds 1D and 2D Hillas parameters Stage 4 : Reconstructed Shower/Array Events VAShowerData: Holds all shower/stereo parameters per event including the event time, and array tracking position VATelescopeData: Vector of telescopes that are used to reconstruct core position and vector of impact distance calculated per telescope VACoordinateData: Holds the coordinates of the reconstructed shower direction and core position
8 Folders & Event Trees INSIDE THE VEGAS OUTPUT FILE VAQStatsData > VAQStats > pedestal/charge statistics > Stage 1 VARelGainData > VARelGainData > relative gain data > Stage 1 TOffsetData Folder > VAOffsetData > Stage 1 Calibrated Events Folder > CalibratedEvents Tree > Stage 2 Parameterized Events > ParEvents Tree > Stage 3 Run Header Folder > VARunHeader > Common Shower Events Folder > VAShowerData > Stage 4 Simulated Events Folder > SimulatedEvevntsTree > Stage 1 2 Selected Events Folder > Stage5Output > Stage 5
9 MACROS dumprunheader.c Dump the run header information stored in a VDF file dumpqstats.c Prints out telescope ID, Channel ID, average pedestal per sample and pedvar for the first time slice dumbadhvchannels.c Prints channels and times when the voltage is out of a user specified range dumprelativegains.c Prints out high and low gains for all channels on both telescopes meancalibratedcharges.c Calculate the mean charge per channel event for a single telescope plotrelativegains.c plotpedvars.c plottoffsets.c plot TOffsets by telescope; will (optionally) save the plot to a file playcurrents.c Plays a movie of the pixel currents for the given run
10 VADISPLAY GUI
11 VADISPLAY GUI
12 VADISPLAY GUI
13 VADISPLAY GUI
14 VADISPLAY GUI
15 VADISPLAY GUI
16 Other Tools Stage 4 Tools: copy files you want to see into an empty directory./showerreconstruction/dump_stage4 h Usage:./showerReconstruction/bin/dump_stage4 [1] [2] [3] [4], with [1] Directory name where the data files are [2] Output file name [3] Nevents (= 0 : all events) [4] ismc (!=0: include true shower parameters) [5] Batch mode (=0: run in batch mode) Example Usage (not batch mode):./ showerreconstruction/bin/dump_stage4 "$HOME/directoryname" "$HOME/oufilename.root" 100 1
17 Other Tools in Us g m Si ul d e at ta Da s le Fi
18 Other Tools in Us g m Si d e at ul ta Da s le Fi
19 Other Tools in Us g m Si ul ed at ta Da s le Fi
20 Other Tools in Us g ed at ul m Si ta Da s le Fi
21 Other Tools in Us g m Si ul ed at ta Da le Fi s
22 Other Tools Stage 5 Tools: Get Rates Plot./bin/vaStage5 cuts=./cuts.conf singlefile=./files/30395.unpadded.root ESCF_Algorithm=VAHillasCuts Overwrite=1 displayrates
23