18const char *
histFile =
"http://root.cern/files/cms_calo_hist.root";
34 mng->SetProjection(t);
51 jet->SetMainTransparency(60);
62 auto eveMng = REveManager::Create();
70 data->RefSliceInfo(0).Setup(
"ECAL", 0.f,
kBlue);
72 data->RefSliceInfo(1).Setup(
"HCAL", 0.1,
kRed);
77 b1->SetMainColor(
kCyan);
78 b1->SetMainTransparency(90);
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 data
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
virtual void AddElement(REveElement *el)
Add el to the list of children.
REveElement * FirstChild() const
Returns the first child element or 0 if the list is empty.
REveScene * GetEventScene() const
REveScene * GetGlobalScene() const
REveScene * SpawnNewScene(const char *name, const char *title="")
Create a new scene.
REveViewer * SpawnNewViewer(const char *name, const char *title="")
Create a new GL viewer.
void Show(const RWebDisplayArgs &args="")
Show eve manager in specified browser.
REveProjectionManager Manager class for steering of projections and managing projected objects.
void SetCameraType(ECameraType t)
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
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.
2-D histogram with a float per channel (see TH1 documentation)
ROOT::Experimental::REveManager * eveMng
void add_jet(REveElement *parent, const char *name, Float_t eta, Float_t phi, Float_t deta, Float_t dphi)
void makeCalo2D(REveCalo3D *calo3d, const char *pname, REveProjection::EPType_e t)
R__EXTERN REveManager * gEve