CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Cgem2DStripBase Class Referenceabstract

#include <Cgem2DStrip.h>

+ Inheritance diagram for Cgem2DStripBase:

Public Member Functions

 Cgem2DStripBase (const char *name, const char *title, Int_t layer, Int_t sheet, Int_t strip)
 
virtual ~Cgem2DStripBase ()
 
virtual void SetStyle ()
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)=0
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)=0
 
virtual void SetHighlighted (bool status=true)
 
virtual void SetFired (bool status=true)
 
virtual bool IsHighlighted () const
 
virtual bool IsFired () const
 
virtual void AddInfo (TString info)
 
virtual void CloseInfo ()=0
 
virtual void ClearInfo ()
 
virtual void Draw (Option_t *option="")=0
 
virtual void Paint (Option_t *option="")=0
 
virtual ECgemStripType GetType () const =0
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Int_t GetLayer () const
 
virtual Int_t GetSheet () const
 
virtual Int_t GetStrip () const
 
 Cgem2DStripBase (const char *name, const char *title, Int_t layer, Int_t sheet, Int_t strip)
 
virtual ~Cgem2DStripBase ()
 
virtual void SetStyle ()
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)=0
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)=0
 
virtual void SetHighlighted (bool status=true)
 
virtual void SetFired (bool status=true)
 
virtual bool IsHighlighted () const
 
virtual bool IsFired () const
 
virtual void AddInfo (TString info)
 
virtual void CloseInfo ()=0
 
virtual void ClearInfo ()
 
virtual void Draw (Option_t *option="")=0
 
virtual void Paint (Option_t *option="")=0
 
virtual ECgemStripType GetType () const =0
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Int_t GetLayer () const
 
virtual Int_t GetSheet () const
 
virtual Int_t GetStrip () const
 

Protected Attributes

std::vector< TString > fInfoCon
 
BesPaveTextfTip
 
Int_t fLayer
 
Int_t fSheet
 
Int_t fStrip
 
bool fHighlighted
 
bool fFired
 
Int_t lcStrip
 
Int_t lwStrip
 
Int_t fcStrip
 
Int_t fsStrip
 
Int_t lcStripFired
 
Int_t lwStripFired
 
Int_t fcStripFired
 
Int_t fsStripFired
 
Int_t lcStripHL
 
Int_t lwStripHL
 
Int_t fcStripHL
 
Int_t fsStripHL
 

Detailed Description

Constructor & Destructor Documentation

◆ Cgem2DStripBase() [1/2]

Cgem2DStripBase::Cgem2DStripBase ( const char *  name,
const char *  title,
Int_t  layer,
Int_t  sheet,
Int_t  strip 
)

◆ ~Cgem2DStripBase() [1/2]

Cgem2DStripBase::~Cgem2DStripBase ( )
virtual

Definition at line 36 of file Cgem2DStrip.cxx.

◆ Cgem2DStripBase() [2/2]

Cgem2DStripBase::Cgem2DStripBase ( const char *  name,
const char *  title,
Int_t  layer,
Int_t  sheet,
Int_t  strip 
)

◆ ~Cgem2DStripBase() [2/2]

virtual Cgem2DStripBase::~Cgem2DStripBase ( )
virtual

Member Function Documentation

◆ AddInfo() [1/2]

virtual void Cgem2DStripBase::AddInfo ( TString  info)
inlinevirtual

◆ AddInfo() [2/2]

virtual void Cgem2DStripBase::AddInfo ( TString  info)
inlinevirtual

Definition at line 40 of file InstallArea/include/BesVisLib/BesVisLib/Cgem2DStrip.h.

40{ fInfoCon.push_back(info); }

◆ ClearInfo() [1/2]

void Cgem2DStripBase::ClearInfo ( )
virtual

Definition at line 41 of file Cgem2DStrip.cxx.

42{
43 fInfoCon.clear();
44 fTip->DeleteText();
45}

Referenced by CgemROOTGeo::ClearHits().

◆ ClearInfo() [2/2]

virtual void Cgem2DStripBase::ClearInfo ( )
virtual

◆ CloseInfo() [1/2]

virtual void Cgem2DStripBase::CloseInfo ( )
pure virtual

◆ CloseInfo() [2/2]

virtual void Cgem2DStripBase::CloseInfo ( )
pure virtual

◆ DistancetoPrimitive() [1/2]

virtual Int_t Cgem2DStripBase::DistancetoPrimitive ( Int_t  px,
Int_t  py 
)
pure virtual

◆ DistancetoPrimitive() [2/2]

virtual Int_t Cgem2DStripBase::DistancetoPrimitive ( Int_t  px,
Int_t  py 
)
pure virtual

◆ Draw() [1/2]

virtual void Cgem2DStripBase::Draw ( Option_t *  option = "")
pure virtual

◆ Draw() [2/2]

virtual void Cgem2DStripBase::Draw ( Option_t *  option = "")
pure virtual

◆ ExecuteEvent() [1/2]

virtual void Cgem2DStripBase::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
pure virtual

◆ ExecuteEvent() [2/2]

virtual void Cgem2DStripBase::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
pure virtual

◆ GetLayer() [1/2]

virtual Int_t Cgem2DStripBase::GetLayer ( ) const
inlinevirtual

◆ GetLayer() [2/2]

virtual Int_t Cgem2DStripBase::GetLayer ( ) const
inlinevirtual

Definition at line 49 of file InstallArea/include/BesVisLib/BesVisLib/Cgem2DStrip.h.

49{ return fLayer; }

◆ GetObjectInfo() [1/2]

char * Cgem2DStripBase::GetObjectInfo ( Int_t  px,
Int_t  py 
) const
virtual

Definition at line 47 of file Cgem2DStrip.cxx.

48{
49 BesView *view = dynamic_cast<BesView*>(gPad->GetView());
50 if (view) return view->GetObjectInfo(px, py);
51 else return TObject::GetObjectInfo(px, py);
52}
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Definition: BesView.cxx:965

◆ GetObjectInfo() [2/2]

virtual char * Cgem2DStripBase::GetObjectInfo ( Int_t  px,
Int_t  py 
) const
virtual

◆ GetSheet() [1/2]

virtual Int_t Cgem2DStripBase::GetSheet ( ) const
inlinevirtual

◆ GetSheet() [2/2]

virtual Int_t Cgem2DStripBase::GetSheet ( ) const
inlinevirtual

Definition at line 50 of file InstallArea/include/BesVisLib/BesVisLib/Cgem2DStrip.h.

50{ return fSheet; }

◆ GetStrip() [1/2]

virtual Int_t Cgem2DStripBase::GetStrip ( ) const
inlinevirtual

◆ GetStrip() [2/2]

virtual Int_t Cgem2DStripBase::GetStrip ( ) const
inlinevirtual

Definition at line 51 of file InstallArea/include/BesVisLib/BesVisLib/Cgem2DStrip.h.

51{ return fStrip; }

◆ GetType() [1/2]

virtual ECgemStripType Cgem2DStripBase::GetType ( ) const
pure virtual

◆ GetType() [2/2]

virtual ECgemStripType Cgem2DStripBase::GetType ( ) const
pure virtual

◆ IsFired() [1/2]

◆ IsFired() [2/2]

virtual bool Cgem2DStripBase::IsFired ( ) const
inlinevirtual

Definition at line 38 of file InstallArea/include/BesVisLib/BesVisLib/Cgem2DStrip.h.

38{ return fFired; }

◆ IsHighlighted() [1/2]

◆ IsHighlighted() [2/2]

virtual bool Cgem2DStripBase::IsHighlighted ( ) const
inlinevirtual

Definition at line 37 of file InstallArea/include/BesVisLib/BesVisLib/Cgem2DStrip.h.

37{ return fHighlighted; }

◆ Paint() [1/2]

virtual void Cgem2DStripBase::Paint ( Option_t *  option = "")
pure virtual

◆ Paint() [2/2]

virtual void Cgem2DStripBase::Paint ( Option_t *  option = "")
pure virtual

◆ SetFired() [1/2]

virtual void Cgem2DStripBase::SetFired ( bool  status = true)
inlinevirtual

◆ SetFired() [2/2]

virtual void Cgem2DStripBase::SetFired ( bool  status = true)
inlinevirtual

Definition at line 36 of file InstallArea/include/BesVisLib/BesVisLib/Cgem2DStrip.h.

36{ fFired = status; }

◆ SetHighlighted() [1/2]

virtual void Cgem2DStripBase::SetHighlighted ( bool  status = true)
inlinevirtual

◆ SetHighlighted() [2/2]

virtual void Cgem2DStripBase::SetHighlighted ( bool  status = true)
inlinevirtual

Definition at line 35 of file InstallArea/include/BesVisLib/BesVisLib/Cgem2DStrip.h.

35{ fHighlighted = status; }

◆ SetStyle() [1/2]

virtual void Cgem2DStripBase::SetStyle ( )
inlinevirtual

◆ SetStyle() [2/2]

virtual void Cgem2DStripBase::SetStyle ( )
inlinevirtual

Member Data Documentation

◆ fcStrip

◆ fcStripFired

◆ fcStripHL

◆ fFired

bool Cgem2DStripBase::fFired
protected

◆ fHighlighted

bool Cgem2DStripBase::fHighlighted
protected

◆ fInfoCon

std::vector< TString > Cgem2DStripBase::fInfoCon
protected

◆ fLayer

◆ fSheet

Int_t Cgem2DStripBase::fSheet
protected

◆ fsStrip

◆ fsStripFired

◆ fsStripHL

◆ fStrip

Int_t Cgem2DStripBase::fStrip
protected

◆ fTip

◆ lcStrip

◆ lcStripFired

◆ lcStripHL

◆ lwStrip

◆ lwStripFired

◆ lwStripHL


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