Cuts Class Reference

#include <Cuts.h>

Inheritance diagram for Cuts:
Plotter

List of all members.

Public Member Functions

void Book (PlotterManager &pm)
 Implement this to book histograms or o.w. one time setup.
bool Fill (PlotterManager &pm)

Detailed Description

Definition at line 6 of file Cuts.h.


Member Function Documentation

void Cuts::Book ( PlotterManager  )  [virtual]

Implement this to book histograms or o.w. one time setup.

Reimplemented from Plotter.

Definition at line 13 of file Cuts.cxx.

References HistMan::Book().

00014 {
00015     HistMan hm("cuts");
00016     hm.Book<TH1D>("tortgt","Proton intensity at E:TORTGT (x10^12 protons)",
00017                   100,0,10);
00018     hm.Book<TH1D>("tortgt_time","Time of E:TORTGT (from start of run 6067) (sec)",
00019                   108,-21600,21600);
00020     hm.Book<TH1D>("horncur","Horn Current, all quadrants (KAmp)",
00021                   40,-200,200);
00022 }

bool Cuts::Fill ( PlotterManager  )  [virtual]

Implement this to get notified each time a new event is read in. Return true to stop analyzing this event.

Reimplemented from Plotter.

Definition at line 68 of file Cuts.cxx.

References horn_off(), and tortgt_ok().

00069 {
00070     if (!tortgt_ok(pm)) return false;
00071 
00072     if (horn_off(pm)) return false;
00073      
00074     return true;
00075 }


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1