9#include <ROOT/REveElement.hxx>
10#include <ROOT/REveScene.hxx>
11#include <ROOT/REveManager.hxx>
12#include <ROOT/REveJetCone.hxx>
25 for (
int i = 0; i <
N_Jets; i++)
27 auto jet =
new REX::REveJetCone(
Form(
"Jet_%d",i ));
29 jet->AddEllipticCone(
r.Uniform(-0.5, 0.5),
r.Uniform(0,
TMath::TwoPi()),
31 jet->SetFillColor(
kPink - 8);
34 jetHolder->AddElement(jet);
40 auto eveMng = REX::REveManager::Create();
42 REX::REveElement *jetHolder =
new REX::REveElement(
"Jets");
43 eveMng->GetEventScene()->AddElement(jetHolder);
R__EXTERN TRandom * gRandom
char * Form(const char *fmt,...)
This is the base class for the ROOT Random number generators.
REX::REveManager * eveMng
void makeJets(int N_Jets, REX::REveElement *jetHolder)
constexpr Double_t TwoPi()