Difference between revisions of "Event Analyzer"

From GlueXWiki
Jump to: navigation, search
 
(22 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. Cosmics particles come from the left.
+
<ins> Location </ins>
 +
 
 +
/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)
  
Histograms:
+
<ins>Histograms:</ins>
  
1. FADC pulses:  16 channels in the downstream side (FADC1), 16 channels in the upstream side (FADC2).  
+
1. FADC pulses:  16 channels on the downstream side (FADC1), 16 channels on the upstream side (FADC2).  
X axis - samples, Y - fadc amplitude
+
X axis - samples, Y - fadc amplitude
  
 
2. TDC hits (time): 12 channels (downstream) + 12 channels (upstream)
 
2. TDC hits (time): 12 channels (downstream) + 12 channels (upstream)
Line 18: Line 59:
 
</gallery>
 
</gallery>
  
4+4=8 hits in 2 FADCs and 4+4=8 hits on both sides of the TDC
+
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)