class TMcpDet: public TObject


The TMcp class inherits from TObject. This Class provides the structure for MCP (MicroChannel Plate) detectors.

I. Unpacking

II. Important Data Members

 

Function Members (Methods)

public:
TMcpDet()
TMcpDet(const TMcpDet&)
virtual~TMcpDet()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
Int_tCalculate(Long64_t entry)
Int_tCalibrate(Long64_t entry)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* option = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidCopy(TObject& det) const
Bool_tCreateMaskFile(TH2* histo)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Int_tGenPrime(Long64_t entry)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
const Int_tGetId() const
virtual const Char_t*GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const Char_t*GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
voidInitClass(TString name, Int_t ID, Int_t nStages)
voidInitTree(TTree* tree)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
Bool_tLoadCorrections(Char_t* fileName)
Bool_tLoadMaskFile(Char_t* fileName, Int_t mapOrder, Int_t fUseErrors = 0)
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetId(const Int_t Id)
voidSetName(const Char_t* name)
voidSetNameTitle(const Char_t* name, const Char_t* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetTitle(const Char_t* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
Bool_tFitMask(Int_t mapOrder)

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
public:
Double_tGridFX[13][13]!
Double_tGridFY[13][13]!
Double_tGridX[13]!
Double_tGridY[13]!
TBranch*b_cMult!
TBranch*b_corner!
TBranch*b_posVX!
TBranch*b_posVY!
TBranch*b_posVZ!
TBranch*b_r!
TBranch*b_sum!
TBranch*b_sumHG!
TBranch*b_tSig!
TBranch*b_x!
TBranch*b_xHG!
TBranch*b_xRaw!
TBranch*b_xRawHG!
TBranch*b_xRawM!
TBranch*b_y!
TBranch*b_yHG!
TBranch*b_yRaw!
TBranch*b_yRawHG!
TBranch*b_yRawM!
TBranch*b_z!
Double_tcMultDetector corner multiplicity.
Double_tcorner[12]Corner signals.
Double_tcornerGain[8]! Corner gains.
TSpline3*fBicubicX!
TSpline3*fBicubicY!
TTree*fChain! pointer to the analyzed TTree or TChain
Int_tfChargeMap[9]!
TMcp*fCon! Conversion parent class.
TMcpDet*fConD! Conversion parent class.
Int_tfCurrent! current Tree number in a TChain
Double_tfEulerPhi! Phi Euler angle.
Double_tfEulerPsi! Psi Euler angle.
Double_tfEulerTheta! Theata Euler angle.
Double_tfHLLimits[4][2]! Limits of region used for high/low matching.
Double_tfHLOffset[4]! Corner offsets from high/low gain matching.
Double_tfHLSlope[4]! Corner slopes from high/low gain matching.
Int_tfMapOrder! Order of mapping calibration. (Number of calibration cycles)
Int_tfMethod! Use polynomial=0 or bicubic splines=1 for mask fitting.
TF2*fPolyX[5]! X position polynomial fit function.
TF2*fPolyY[5]! Y position polynomial fit function.
Bool_tfPosSumCorr! Use position dependance on sum correction.
TF2*fPosSumX[5]! X position dependance on sum polynomial fit functions.
TF2*fPosSumY[5]! Y position dependance on sum polynomial fit functions.
TSpline3*fRowX[13]!
TSpline3*fRowY[13]!
Int_tfSigMap[9]!
Double_tfoilAngle! Angle of the MCP foils w.r.t. the beam axis.
TGraphErrorsg_maskCentroids[5]! Graph of mask centroids.
TGraph2DErrorsg_maskHolesX[5]! Graph used for fPolyX0.
TGraph2DErrorsg_maskHolesY[5]! Graph used for fPolyY0.
TMcp*parent! Parent of this.
Double_tped[8]! Corner pedestals.
TVector3posVCalculated 3D interaction position.
Double_trOff center distance.
Double_trotAlign! Rotation around MCP mask/target z-axis to compensate for alpha/beam.
Double_trotation! Rotation around MCP mask/target z-axis.
Double_tsumCorner sum.
Double_tsumHGCorner high gain sum.
Double_tsumThresh!
Double_ttSigTime signal.
Double_tthresh[8]! Corner thresholds.
Double_txCorrected x position.
Double_txHGCorrected high gain x position.
Double_txOffset! Offset Raw x position in order to align with alpha source mask.
Double_txRawRaw x position (Only on Mult=4).
Double_txRawHGRaw high gain x position (Only on Mult=4).
Double_txRawMRaw matched x position (Only on Mult=4).
Double_txScale! Obsolete.
Double_txShift! Shift x position in order to align with other refernce frames.
Double_tyCorrected y position.
Double_tyHGCorrected high gain y position.
Double_tyOffset! Offset Raw y position in order to align with alpha source mask.
Double_tyRawRaw y position (Only on Mult=4).
Double_tyRawHGRaw high gain y position (Only on Mult=4).
Double_tyRawMRaw matched y position (Only on Mult=4).
Double_tyScale! Obsolete.
Double_tyShift! Shift y position in order to align with other refernce frames.
Double_tzCorrected z position.
Double_tzOffset! Offset Raw z position in order to align with alpha source mask.
Double_tzShift! Shift z position in order to align with other refernce frames.
protected:
Int_tfId! MCP identifier (0 or 1, Upstream or Downstream).
TStringfName! Object identifier
TStringfTitle! Object title.
private:
Int_tfNGainStages! Number of gain stages set in rootDefine.h
TRandom3fRandom! The class's random number generator.

Class Charts

Inheritance Chart:
TObject
TMcpDet

Function documentation

~TMcpDet()
 -- Destructor
TMcpDet(const TMcpDet& )
 -- Copy constructor.
void Copy(TObject& det) const
 -- Copy this method.

void Clear(Option_t* option = "")
 -- Clear MCP detector values.

Int_t Calibrate(Long64_t entry)
 -- Calibrate an entry.


Int_t Calculate(Long64_t entry)
 -- Calculate quantities related to the MCP detector for an entry.
Bool_t CreateMaskFile(TH2* histo)
 -- Generate the mask calibration file from TCutG objects.
 This method assumes that the TCutG objects are named,
 hole#_# where #_# are the row and column number from the
 matrix below,
            0 1 2 3 4 5 6 7 8 9 . . 12

      0     o o o o o o o o o o o o o
      1     o o o o o o o o o o o o o
      2     o o o o o o o o o o o o o
      3     o o o o o o o o o o o o o
      4     o o o L L L L o o o o o o
      5     o o o o o o L o o o o o o
      6     o o o o o o L o o o o o o
      7     o o o o o o o o o o o o o
      8     o o o o o o o o o o o o o
      9     o o o o o o o o o o o o o
     10     o o o o o o o o o o o o o
     11     o o o o o o o o o o o o o
     12     o o o o o o o o o o o o o
Int_t GenPrime(Long64_t entry)
 -- Generate primary data for an entry.

void InitClass(TString name, Int_t ID, Int_t nStages)
 -- Initialize an MCP detector.

void InitTree(TTree* tree)
 -- Initialize the tree.

Bool_t FitMask(Int_t mapOrder)
 -- Generates the fitting functions from the mask holes.

Bool_t LoadMaskFile(Char_t* fileName, Int_t mapOrder, Int_t fUseErrors = 0)
 -- Load the mask file for calibration.

Bool_t LoadCorrections(Char_t* fileName)
 --

void SetId(const Int_t Id)
 -- Set the MCP ID number. In general 0 = Upstream, 1 = Target.

void SetName(const Char_t* name)
 -- Change (i.e. set) the name of the TMcpDet.

void SetNameTitle(const Char_t* name, const Char_t* title)
 -- Change (i.e. set) all the TMcpDet parameters (name and title).

void SetTitle(const Char_t* title = "")
 -- Change (i.e. set) the title of the TMcpDet.

TMcpDet()
{fRandom.SetSeed(0);}
const Int_t GetId() const
{ return fId; }
const Char_t * GetName() const
{ return fName; }
const Char_t * GetTitle() const
{ return fTitle; }

Author: Andrew M. Rogers and Mark Wallace, NSCL 07/01/2006
Last change: Sun Dec 21 12:38:50 2008
Last generated: 2008-12-21 12:38
Copyright (C) 2006-2008 Andrew M. Rogers and Mark Wallace

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.