25 for (
int i = 0; i < N_Jets; i++) {
27 jet->SetCylinder(2 * kR_max, 2 * kZ_d);
28 jet->AddEllipticCone(
r.Uniform(-0.5, 0.5),
r.Uniform(0,
TMath::TwoPi()), 0.1, 0.2);
29 jet->SetFillColor(
kPink - 8);
32 jetHolder->AddElement(jet);
38 auto eveMng = REveManager::Create();
45 data->InitPath(
"/tracker:Tracker_1");
46 data->RefDescription().SetVisLevel(2);
49 auto scene = eveMng->SpawnNewScene(
"GeoSceneTable");
50 auto view = eveMng->SpawnNewViewer(
"GeoTable");
51 view->AddScene(scene);
52 scene->AddElement(
data);
56 geoViz->SetGeoData(
data);
57 data->AddNiece(geoViz);
58 geoViz->SetPickable(
true);
61 eveMng->GetEventScene()->AddElement(geoViz);
63 eveMng->GetEventScene()->AddElement(jetHolder);
64 makeJets(7, jetHolder);
double Double_t
Double 8 bytes.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
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
R__EXTERN TRandom * gRandom
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
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.
static Bool_t SetCacheFileDir(std::string_view cacheDir, Bool_t operateDisconnected=kTRUE, Bool_t forceCacheread=kFALSE)
Sets the directory where to locally stage/cache remote files.
This is the base class for the ROOT Random number generators.
Namespace for ROOT features in testing.
constexpr Double_t TwoPi()