7 #ifndef _EIC_TOY_MODEL_
8 #define _EIC_TOY_MODEL_
16 #define _IR_REGION_LENGTH_DEFAULT_ (900.0)
17 #define _IR_REGION_RADIUS_DEFAULT_ (400.0)
40 bool reset_stacks =
false,
bool redraw =
true);
78 void home(
bool redraw =
true);
80 void zoom(
double blX,
double blY,
double trX,
double trY,
bool redraw =
true);
93 void write(
bool everything =
false,
bool lock =
false);
119 TVector2
cnv(
const TVector2 &
world)
const;
128 static std::pair<std::vector<TVector2>, std::vector<TVector2> >
135 void Export(
const char *fname,
bool everything =
false,
bool lock =
false);
162 void DrawPolygon(
unsigned dim,
const double xx[],
const double yy[],
163 int color,
bool line =
true)
const;
179 std::vector<TVector2>
RebuildCrack(
const std::vector<TVector2> &chain,
182 void AppendChain(std::vector<TVector2> &chain,
const std::vector<TVector2> &
add);
184 std::vector<TVector2>
Band(
const std::vector<TVector2> &chain,
188 bool account_crossing_angle);
190 bool account_crossing_angle);
195 void WriteText(
const TVector2 &where,
const TString &what,
int color = kBlack)
const;
209 void DrawSingleEtaLine(
double eta,
const TVector2 &to, std::pair<bool, bool> what,
bool side)
const;
214 void DrawRectangle(
const TVector2 &bl,
const TVector2 &tr,
int color,
bool line =
true)
const;