AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONPointWithRef Class Reference

A TVector2 with an integer ref, and a specific Compare. More...

#include <AliMUONPointWithRef.h>

Inheritance diagram for AliMUONPointWithRef:

Public Member Functions

 AliMUONPointWithRef (Double_t x, Double_t y, Int_t ref)
 
 AliMUONPointWithRef ()
 
virtual ~AliMUONPointWithRef ()
 Destructor. More...
 
virtual Bool_t IsSortable () const
 We are sortable. More...
 
virtual Int_t Compare (const TObject *obj) const
 
Double_t X () const
 Return x value. More...
 
Double_t Y () const
 Return y value. More...
 
Int_t Ref () const
 Return the index of the original point in some array. More...
 
void Print (Option_t *opt="") const
 

Private Attributes

Double_t fX
 x value More...
 
Double_t fY
 y value More...
 
Int_t fRef
 index of the original point in some array More...
 

Detailed Description

A TVector2 with an integer ref, and a specific Compare.

A class used to represent a point with an external integer reference and with a specific sorting method (see AliMUONContourMaker)

Author
Laurent Aphecetche, Subatech

Definition at line 19 of file AliMUONPointWithRef.h.

Constructor & Destructor Documentation

AliMUONPointWithRef::AliMUONPointWithRef ( Double_t  x,
Double_t  y,
Int_t  ref 
)

ctor

Definition at line 45 of file AliMUONPointWithRef.cxx.

AliMUONPointWithRef::AliMUONPointWithRef ( )

default ctor

Definition at line 39 of file AliMUONPointWithRef.cxx.

virtual AliMUONPointWithRef::~AliMUONPointWithRef ( )
inlinevirtual

Destructor.

Definition at line 25 of file AliMUONPointWithRef.h.

Member Function Documentation

Int_t AliMUONPointWithRef::Compare ( const TObject *  obj) const
virtual

Should serve to sort the vertical edges in ascending order, first on absissa, then on ordinate

Definition at line 53 of file AliMUONPointWithRef.cxx.

virtual Bool_t AliMUONPointWithRef::IsSortable ( ) const
inlinevirtual

We are sortable.

Definition at line 28 of file AliMUONPointWithRef.h.

void AliMUONPointWithRef::Print ( Option_t *  opt = "") const

Printout

Definition at line 87 of file AliMUONPointWithRef.cxx.

Int_t AliMUONPointWithRef::Ref ( ) const
inline

Return the index of the original point in some array.

Definition at line 39 of file AliMUONPointWithRef.h.

Referenced by Print(), and AliMUONContourMaker::VerticalToHorizontal().

Double_t AliMUONPointWithRef::X ( ) const
inline

Return x value.

Definition at line 33 of file AliMUONPointWithRef.h.

Referenced by Compare(), Print(), and AliMUONContourMaker::VerticalToHorizontal().

Double_t AliMUONPointWithRef::Y ( ) const
inline

Return y value.

Definition at line 36 of file AliMUONPointWithRef.h.

Referenced by Compare(), Print(), and AliMUONContourMaker::VerticalToHorizontal().

Member Data Documentation

Int_t AliMUONPointWithRef::fRef
private

index of the original point in some array

Definition at line 46 of file AliMUONPointWithRef.h.

Referenced by Ref().

Double_t AliMUONPointWithRef::fX
private

x value

Definition at line 44 of file AliMUONPointWithRef.h.

Referenced by X().

Double_t AliMUONPointWithRef::fY
private

y value

Definition at line 45 of file AliMUONPointWithRef.h.

Referenced by Y().


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