Demonstrates usage of EVE calorimetry classes.
const char *
histFile =
"http://root.cern/files/cms_calo_hist.root";
{
auto view =
eveMng->SpawnNewViewer(
"RPhi View",
"");
view->SetCameraType(REveViewer::kCameraOrthoXOY);
}
{
jet->SetMainTransparency(60);
}
{
auto eveMng = REveManager::Create();
data->RefSliceInfo(0).Setup(
"ECAL", 0.f,
kBlue);
data->RefSliceInfo(1).Setup(
"HCAL", 0.1,
kRed);
b1->SetMainTransparency(90);
b1->SetNSegments(80);
eveMng->GetGlobalScene()->AddElement(b1);
}
float Float_t
Float 4 bytes (float)
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 data
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
Visualization of a calorimeter event data in 2D.
Visualization of a calorimeter event data in 3D.
A central manager for calorimeter data of an event written in TH2F.
Base class for REveUtil visualization elements, providing hierarchy management, rendering control and...
Wrapper for TGeoShape with absolute positioning and color attributes allowing display of extracted TG...
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.
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)
Namespace for ROOT features in testing.
R__EXTERN REveManager * gEve