Difference between revisions of "Event Analyzer"

From GlueXWiki
Jump to: navigation, search
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
# Some plots from the event analyzer. A 'typical' example of a cosmics event (triggered with a small scintillator).
+
<ins> Location </ins>
  
Cosmics particles come from the left. 4+4=8 hits in 2 FADCs and 4+4=8 hits in the TDC
+
/group/halld/Subsystems/trigger/bcal_beam
 +
 
 +
Disc available from ifarms (ssh ifarml64)
 +
 
 +
* 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
 +
 
 +
<ins> Compile & Run </ins>
 +
 
 +
* 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
 +
                       
 +
 
 +
<ins> Examples </ins>
 +
 
 +
* 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)
 
FADC readout: RAW window mode (100 samples)
 +
 +
<ins>Histograms:</ins>
 +
 +
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)
  
  
 
<gallery>
 
<gallery>
File:bcal_cos_fadc1.png  | FADC1 downstream side (X - samples, Y- fadc amplitude)
+
File:bcal_cos_fadc1.png  | FADC1 downstream side  
 
File:bcal_cos_fadc2.png  | FADC2 upstream side
 
File:bcal_cos_fadc2.png  | FADC2 upstream side
File:bcal_cos_tdc1.png  | TDC hits downstream (X - time)
+
File:bcal_cos_tdc1.png  | TDC hits downstream  
 
File:bcal_cos_tdc2.png  | TDC hits upstream
 
File:bcal_cos_tdc2.png  | TDC hits upstream
 
</gallery>
 
</gallery>
 +
 +
4+4=8 hits in 2 FADCs and 4+4=8 hits in the TDC (on both sides of the BCAL)

Latest revision as of 23:55, 3 April 2012

Location

/group/halld/Subsystems/trigger/bcal_beam

Disc available from ifarms (ssh ifarml64)

  • 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


Examples

  • 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)