27 for (
int i = 0; i <
N_Jets; i++) {
30 jet->AddEllipticCone(
r.Uniform(-0.5, 0.5),
r.Uniform(0,
TMath::TwoPi()), 0.1, 0.2);
40 auto eveMng = REveManager::Create();
41 eveMng->AllowMultipleRemoteConnections(
false,
false);
47 eveMng->GetDefaultViewer()->SetBlackBackground(
true);
53 auto view =
eveMng->SpawnNewViewer(
"RPhiView",
"");
54 view->SetBlackBackground(
true);
55 view->SetCameraType(REveViewer::kCameraOrthoXOY);
58 view->SetMandatory(
false);
64 text->SetText(
"Single View");
67 text->SetFontSize(0.05);
68 text->SetFont(
"LiberationSerif-Regular");
69 text->SetFillAlpha(228);
71 text->AssertSdfFont(
"LiberationSerif-Regular",
rf_dir +
"LiberationSerif-Regular.ttf");
75 std::string
url =
eveMng->GetWebWindow()->GetUrl();
76 url +=
"?Single=RPhiView";
77 std::cout <<
"Single view URL" <<
url <<
"\n";
81 eveMng->GetWebWindow()->Show();
82 eveMng->GetWebWindow()->Show(args);
double Double_t
Double 8 bytes.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char text
R__EXTERN TRandom * gRandom
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
R__EXTERN TSystem * gSystem
Base class for REveUtil visualization elements, providing hierarchy management, rendering control and...
Draws a jet cone with leading particle is specified in (eta,phi) and cone radius is given.
Manager class for steering of projections and managing projected objects.
Holds different arguments for starting browser with RWebDisplayHandle::Display() method.
RWebDisplayArgs & SetUrlOpt(const std::string &opt)
set window url options
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
Set the value of a resource or create a new resource.
This is the base class for the ROOT Random number generators.
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
Namespace for ROOT features in testing.
constexpr Double_t TwoPi()