ROOT logo
#ifndef THPRCURLYLINEWITHARROW
#define THPRCURLYLINEWITHARROW
#include "HprElement.h"
#include "TCurlyLineWithArrow.h"


class THprCurlyLineWithArrow : public  TCurlyLineWithArrow,
                               public  HprElement
{

public:
   THprCurlyLineWithArrow(){ SetDaughter(this);};
   THprCurlyLineWithArrow(Double_t x1, Double_t y1, Double_t x2, Double_t y2,
              Double_t wl = .02, Double_t amp = .01,
              Int_t where = 2, Float_t arrowsize=0);
   ~THprCurlyLineWithArrow(){};
   void Paint(const Option_t *opt);
   Bool_t IsSortable() const {return kTRUE;}
   Int_t Compare( const TObject *obj) const
   {
      const HprElement* hpre = dynamic_cast<const HprElement*>(obj);
      if (GetPlane()== hpre->GetPlane())
         return 0;
      if (GetPlane() > hpre->GetPlane())
         return 1;
      else
         return -1;
   }
 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,12,0)
   void SavePrimitive(std::ostream &, Option_t *);
 #else
   void SavePrimitive(std::ofstream &, Option_t *);
 #endif
ClassDef(THprCurlyLineWithArrow,1)
};
#endif
 THprCurlyLineWithArrow.h:1
 THprCurlyLineWithArrow.h:2
 THprCurlyLineWithArrow.h:3
 THprCurlyLineWithArrow.h:4
 THprCurlyLineWithArrow.h:5
 THprCurlyLineWithArrow.h:6
 THprCurlyLineWithArrow.h:7
 THprCurlyLineWithArrow.h:8
 THprCurlyLineWithArrow.h:9
 THprCurlyLineWithArrow.h:10
 THprCurlyLineWithArrow.h:11
 THprCurlyLineWithArrow.h:12
 THprCurlyLineWithArrow.h:13
 THprCurlyLineWithArrow.h:14
 THprCurlyLineWithArrow.h:15
 THprCurlyLineWithArrow.h:16
 THprCurlyLineWithArrow.h:17
 THprCurlyLineWithArrow.h:18
 THprCurlyLineWithArrow.h:19
 THprCurlyLineWithArrow.h:20
 THprCurlyLineWithArrow.h:21
 THprCurlyLineWithArrow.h:22
 THprCurlyLineWithArrow.h:23
 THprCurlyLineWithArrow.h:24
 THprCurlyLineWithArrow.h:25
 THprCurlyLineWithArrow.h:26
 THprCurlyLineWithArrow.h:27
 THprCurlyLineWithArrow.h:28
 THprCurlyLineWithArrow.h:29
 THprCurlyLineWithArrow.h:30
 THprCurlyLineWithArrow.h:31
 THprCurlyLineWithArrow.h:32
 THprCurlyLineWithArrow.h:33
 THprCurlyLineWithArrow.h:34
 THprCurlyLineWithArrow.h:35
 THprCurlyLineWithArrow.h:36