214         if (
HEPEVT.isthep[i] == 1) {
 
 
  281         if (
HEPEVT.isthep[i] == 1) {
 
 
  342   if (px > 50 && py > 50) dist = 
inview;
 
 
  355      gROOT->MakeDefCanvas();
 
  356      if (
gPad->GetVirtCanvas())
 
  357         gPad->GetVirtCanvas()->SetFillColor(13);
 
  370   view = 
gPad->GetView();
 
  404   for (i=0;i<ntracks;i++) {
 
  431      p->SetLineColor(color);
 
  449   text->SetTextAlign(12);
 
  450   text->SetTextSize(0.025);
 
  464   text->SetTextAlign(32);
 
  477   text->SetTextAlign(12);
 
 
  500   if (
gPad->GetView()) {
 
  501      gPad->GetView()->ExecuteRotateView(event, px, py);
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char text
 
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
 
Using a TBrowser one can browse all ROOT objects.
 
An array of clone (identical) objects.
 
static TDatabasePDG * Instance()
static function
 
The interface to various event generators.
 
virtual TParticle * GetParticle(Int_t i) const
Returns pointer to primary number i;.
 
Int_t GetNumberOfParticles() const
Return the number of particles in the stack.
 
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
 
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to objects in event.
 
virtual void SetViewRadius(Float_t rbox=1000)
Set lower and upper values of the view range.
 
~TGenerator() override
Event generator default destructor.
 
virtual void GenerateEvent()
must be implemented in concrete class (see eg TPythia6)
 
Bool_t fShowNeutrons
Pt cut. Do not show primaries below.
 
virtual Int_t ImportParticles(TClonesArray *particles, Option_t *option="")
It reads the /HEPEVT/ common block which has been filled by the GenerateEvent method.
 
virtual void SetPtCut(Float_t ptcut=0)
Set Pt threshold below which primaries are not drawn.
 
TObjArray * fParticles
display neutrons if true
 
void Browse(TBrowser *b) override
browse generator
 
void Draw(Option_t *option="") override
Insert one event in the pad list.
 
void Paint(Option_t *option="") override
Paint one event.
 
virtual void ShowNeutrons(Bool_t show=1)
Set flag to display or not neutrons.
 
virtual void SetViewRange(Float_t xmin=-10000, Float_t ymin=-10000, Float_t zmin=-10000, Float_t xmax=10000, Float_t ymax=10000, Float_t zmax=10000)
Set lower and upper values of the view range.
 
The TNamed class is the base class for all named ROOT classes.
 
const char * GetName() const override
Returns name of object.
 
const char * GetTitle() const override
Returns title of object.
 
Int_t GetEntriesFast() const
 
void Clear(Option_t *option="") override
Remove all objects from the array.
 
void Delete(Option_t *option="") override
Remove all objects from the array AND delete all heap based objects.
 
TObject * UncheckedAt(Int_t i) const
 
Int_t GetLast() const override
Return index of last object in array.
 
void Add(TObject *obj) override
 
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
 
Description of the static properties of a particle.
 
Description of the dynamic properties of a particle.
 
A Pave (see TPave) with text, lines or/and boxes inside.
 
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
 
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.
 
Base class for several text objects.
 
static TView * CreateView(Int_t system=1, const Double_t *rmin=nullptr, const Double_t *rmax=nullptr)
Create a concrete default 3-d view via the plug-in manager.
 
virtual void GetRange(Float_t *min, Float_t *max)=0
 
virtual void SetRange(const Double_t *min, const Double_t *max)=0
 
Double_t Log10(Double_t x)
Returns the common (base-10) logarithm of x.