22 for (
int i = 0; i <
N_Jets; i++) {
25 jet->AddEllipticCone(
r.Uniform(-0.5, 0.5),
r.Uniform(0,
TMath::TwoPi()), 0.1, 0.2);
35 auto eveMng = REveManager::Create();
50 view->SetCameraType(REveViewer::kCameraOrthoXOY);
59 text->SetText(
"Single View");
62 text->SetFontSize(0.05);
63 text->SetFont(
"LiberationSerif-Regular");
64 text->SetFillAlpha(228);
66 text->AssertSdfFont(
"LiberationSerif-Regular",
rf_dir +
"LiberationSerif-Regular.ttf");
71 url +=
"?Single=RPhiView";
72 std::cout <<
"Single view URL" <<
url <<
"\n";
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
virtual void AddElement(REveElement *el)
Add el to the list of children.
REveScene * GetEventScene() const
void AllowMultipleRemoteConnections(bool loopBack=true, bool useAuthKey=true)
Utility function to allow remote RWebWindow connections.
REveScene * SpawnNewScene(const char *name, const char *title="")
Create a new scene.
std::shared_ptr< ROOT::RWebWindow > GetWebWindow() const
REveViewer * SpawnNewViewer(const char *name, const char *title="")
Create a new GL viewer.
REveViewer * GetDefaultViewer() const
Get the default viewer.
REveProjectionManager Manager class for steering of projections and managing projected objects.
virtual REveElement * ImportElements(REveElement *el, REveElement *ext_list=nullptr)
Recursively import elements and apply projection to the newly imported objects.
void SetMandatory(bool x)
void SetBlackBackground(bool)
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 ~.
ROOT::Experimental::REveManager * eveMng
REX::REveProjectionManager * mngRhoZ
REveVectorT< Float_t > REveVector
constexpr Double_t TwoPi()
void makeJets(int N_Jets, REveElement *jetHolder)