#include "LegsMakerCalibPnXpos.h"

LegsMakerCalibPnXpos


class description - source file - inheritance tree (.pdf)

class LegsMakerCalibPnXpos : public LegsMaker

Inheritance Chart:
TObject
<-
LegsMaker
<-
LegsMakerCalibPnXpos

    public:
LegsMakerCalibPnXpos(Int_t add = 1) LegsMakerCalibPnXpos(const LegsMakerCalibPnXpos&) virtual ~LegsMakerCalibPnXpos() static TClass* Class() virtual void Init() virtual TClass* IsA() const virtual bool Make() void MakeCalibration1() void MakeCalibration2() LegsMakerCalibPnXpos& operator=(const LegsMakerCalibPnXpos&) virtual void RunEnd() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
unsigned int fTimeSeconds vector<float> fX1 vector<float> fX2 vector<float> fSlope ! vector<float> fOffset ! public:
static const enum LegsMakerCalibPnXpos:: kPb static const enum LegsMakerCalibPnXpos:: kXt static const enum LegsMakerCalibPnXpos:: kPn static const enum LegsMakerCalibPnXpos:: kPv static const enum LegsMakerCalibPnXpos:: kXc static const enum LegsMakerCalibPnXpos:: kPf TH1F* fHistPn[46] TH1F* fHistPnR[46]

Class Description

 The class looks into x-posiiton reconstruction in PN-bars
 histograms are collected untill number of entries is sufficient
 to use them for calibrations. Then the histograms are used to
 find calibrations for xposition of PN-bars. X should go from -80
 to 80 cm.  IMPORTANT here : assumption is that time grows with
 event number always.  if it does not - calibrations are not
 proper.

LegsMakerCalibPnXpos(Int_t add) : LegsMaker("CalibPnXpos","PN x-position calibration histos", add)
 constructor of the class.  Directory in root output file is created for this maker
 (the directory has the same name as the maker does).
 All histograms created in this maker will be put in the directory.

void Init()
 user initialization, create histos  etc

bool Make()
 called by LegsRun every event when LegsRun::Loop() is called.
 this is the main function from which other functions can be called.
 looks for pi+ in XT
 returns TRUE if test cut is satisfied
 returns FALSE otherwise

void MakeCalibration1()
 process X histos , get calibrations and put into file marked with current time slot

void MakeCalibration2()
 process Tof Diff histos , get clibrations and put into file marked with current time slot

void RunEnd()



Inline Functions


                         void ~LegsMakerCalibPnXpos()
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
         LegsMakerCalibPnXpos LegsMakerCalibPnXpos(const LegsMakerCalibPnXpos&)
        LegsMakerCalibPnXpos& operator=(const LegsMakerCalibPnXpos&)


Last update: Wed May 18 13:32:21 2005


ROOT page - Home page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.