Difference between revisions of "Event Analyzer"

From GlueXWiki
Jump to: navigation, search
Line 7: Line 7:
 
Files:  
 
Files:  
  
: bcal_beam.cc bcal_beam.h (analyzer, reads evio data file and creates a root file.
+
* bcal_beam.cc bcal_beam.h  
  
:: Have to be compiled with the evio libs )
+
:: Analyzer. Reads an evio data file and creates a root file.
 +
 
 +
:: Have to be compiled with the evio libs
  
 
: raw_check.C (opens the root file and plots some data quality histograms)
 
: raw_check.C (opens the root file and plots some data quality histograms)

Revision as of 23:52, 3 April 2012

Location

/group/halld/Subsystems/trigger/bcal_beam

Disc available from ifarms (ssh ifarml64)

Files:

  • bcal_beam.cc bcal_beam.h
Analyzer. Reads an evio data file and creates a root file.
Have to be compiled with the evio libs
raw_check.C (opens the root file and plots some data quality histograms)

Compile & Run

  • Copy /group/halld/Subsystems/trigger/bcal_beam
  • Copy /group/halld/Subsystems/trigger/coda
  • Environment variables /group/halld/Subsystems/trigger/set_env
(source set_env)
  • make (in bcal_beam dir)
  • bcal_beam file_name.evt.0
file_name.root will be created
  • To analyze root file:
root
.x raw_check.C



  • Some plots from the event analyzer. A 'typical' example of a cosmics event triggered with a small scintillator (cosmics particles come from the left).

FADC readout: RAW window mode (100 samples)

Histograms:

1. FADC pulses: 16 channels on the downstream side (FADC1), 16 channels on the upstream side (FADC2). X axis - samples, Y - fadc amplitude

2. TDC hits (time): 12 channels (downstream) + 12 channels (upstream)


4+4=8 hits in 2 FADCs and 4+4=8 hits in the TDC (on both sides of the BCAL)