ROOT logo
HYDRA - THE HADES ANALYSIS PACKAGE » (UNKNOWN) » HMdcLayer

class HMdcLayer: public TObject

Function Members (Methods)

public:
HMdcLayer()
HMdcLayer(const HMdcLayer&)
~HMdcLayer()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidcalcCropedLayer(Int_t s, Int_t m, Int_t l)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
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
voidfillLayerPoints(HMdcSizesCells* fSizesCells, Bool_t secsys = kFALSE)
voidfillRKPlane(HMdcSizesCells* fSizesCells)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
voidgetCropedLayerPoints(Int_t s, Int_t m, Int_t l, TVector2& p0, TVector2& p1, TVector2& p2, TVector2& p3)
Bool_tgetCropedLayersEdge(TVector2& p, Int_t s, Int_t m, Int_t l, Double_t& xmin, Double_t& xmax, Double_t& ymin, Double_t& ymax)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
voidgetLayerPoints(Int_t s, Int_t m, Int_t l, TVector2& p0, TVector2& p1, TVector2& p2, TVector2& p3)
Bool_tgetLayersEdge(TVector2& p, Int_t s, Int_t m, Int_t l, Double_t& xmin, Double_t& xmax, Double_t& ymin, Double_t& ymax)
Bool_tgetLayersEdge(TVector2& p, Int_t s, Int_t m, Int_t l, Double_t& xmin, Double_t& xmax, Double_t& ymin, Double_t& ymax, Double_t& xmincrop, Double_t& xmaxcrop, Double_t& ymincrop, Double_t& ymaxcrop)
const HMdcPlane&getMdcPlane(Int_t s)
const HMdcPlane*getMdcPlanes()
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const HGeomVector&getTargetMidPoint()
virtual const char*TObject::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
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tisCroped(TVector2& p, Int_t s, Int_t m, Int_t l)
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
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
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)
HMdcLayer&operator=(const HMdcLayer&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
voidprintCropedLayer(Int_t s, Int_t m, Int_t l)
voidprintLayer(Int_t s, Int_t m, Int_t l)
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(ostream& 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)
voidsetMDCCrop(Int_t m, Double_t xlowcrop, Double_t xupcrop, Double_t ylowcrop, Double_t yupcrop)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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()

Data Members

private:
TVector2layerP[6][4][6][4]4 corner points for each layer (layer sys)
TVector2layerPcrop[6][4][6][4]4 corner points for each croped layer (layer sys)
HMdcPlaneplMdc[6]lab sys
HGeomVectortargetMidPointlab sys
Double_txcrop[4][2]module wise x at lower and upper edge (symmetric)
Double_tycrop[4][2]module wise y low and up

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HMdcLayer()
void setMDCCrop(Int_t m, Double_t xlowcrop, Double_t xupcrop, Double_t ylowcrop, Double_t yupcrop)
void getLayerPoints(Int_t s, Int_t m, Int_t l, TVector2& p0, TVector2& p1, TVector2& p2, TVector2& p3)
void getCropedLayerPoints(Int_t s, Int_t m, Int_t l, TVector2& p0, TVector2& p1, TVector2& p2, TVector2& p3)
Bool_t getLayersEdge(TVector2& p, Int_t s, Int_t m, Int_t l, Double_t& xmin, Double_t& xmax, Double_t& ymin, Double_t& ymax, Double_t& xmincrop, Double_t& xmaxcrop, Double_t& ymincrop, Double_t& ymaxcrop)
 calculates min and max values of x and y  for a given point p
 on the MDC layer. Both for full layer and croped layer

                  y|
                   |
        p3         L2           p2

\        |
\       |
            \      |0,0    /    x
         ----\-----|------/----
           L3 \    |     /  L1
\   |
\  |
\ |

                p4 |  p1
                   | L4
                   |

Bool_t getLayersEdge(TVector2& p, Int_t s, Int_t m, Int_t l, Double_t& xmin, Double_t& xmax, Double_t& ymin, Double_t& ymax)
 calculates min and max values of x and y  for a given point p
 on the MDC layer. Both for full layer and croped layer

                  y|
                   |
        p3         L2           p2

\        |
\       |
            \      |0,0    /    x
         ----\-----|------/----
           L3 \    |     /  L1
\   |
\  |
\ |

                p4 |  p1
                   | L4
                   |

Bool_t getCropedLayersEdge(TVector2& p, Int_t s, Int_t m, Int_t l, Double_t& xmin, Double_t& xmax, Double_t& ymin, Double_t& ymax)
 calculates min and max values of x and y  for a given point p
 on the MDC layer. Both for full layer and croped layer

                  y|
                   |
        p3         L2           p2

\        |
\       |
            \      |0,0    /    x
         ----\-----|------/----
           L3 \    |     /  L1
\   |
\  |
\ |

                p4 |  p1
                   | L4
                   |

Bool_t isCroped(TVector2& p, Int_t s, Int_t m, Int_t l)
 calculates min and max values of x and y  for a given point p
 on the MDC crop layer. return kTRUE i p is outside

                  y|
                   |
        p3         L2           p2

\        |
\       |
            \      |0,0    /    x
         ----\-----|------/----
           L3 \    |     /  L1
\   |
\  |
\ |

                p4 |  p1
                   | L4
                   |

void fillRKPlane(HMdcSizesCells* fSizesCells)
 path length correction for vertex
 Labsys
void fillLayerPoints(HMdcSizesCells* fSizesCells, Bool_t secsys = kFALSE)
 set layers in layer coord system (using HMdcSizesCells)
 calulates the croped layer realtive to the full layer
 uses xcrop and ycrop values (default values are set in constructor).
 if secsys = kTRUE the layer points are transformed to
 sector system (default kFALSE).
void calcCropedLayer(Int_t s, Int_t m, Int_t l)
void printLayer(Int_t s, Int_t m, Int_t l)
void printCropedLayer(Int_t s, Int_t m, Int_t l)
HMdcLayer()
const HGeomVector& getTargetMidPoint()
{ return targetMidPoint; }
const HMdcPlane& getMdcPlane(Int_t s)
{ return plMdc[s]; }
const HMdcPlane* getMdcPlanes()
{ return &plMdc[0];}