121 mess =
"AbortProcess";
125 Info(mess,
"%s", why);
146 bool fromFile =
false;
147 if (strchr(
filename,
'.') !=
nullptr) {
151 gROOT->ProcessLine(localname);
159 ::Error(
"TSelector::GetSelector",
"unable to determine the classname for file %s",
filename);
171 bool autoloaderr =
false;
182 ::Error(
"TSelector::GetSelector",
183 "The class %s in file %s does not derive from TSelector.", localname.
Data(),
filename);
184 else if (autoloaderr)
185 ::Error(
"TSelector::GetSelector",
"class %s could not be loaded",
filename);
187 ::Error(
"TSelector::GetSelector",
188 "class %s does not exist or does not derive from TSelector",
filename);
199 bool nameFound =
false;
209 ::Error(
"TSelector::GetSelector",
210 "The class %s in file %s does not derive from TSelector.", localname.
Data(),
filename);
212 ::Error(
"TSelector::GetSelector",
213 "The file %s does not define a class named %s.",
filename, localname.
Data());
217 ::Error(
"TSelector::GetSelector",
"class %s could not be loaded",
filename);
219 ::Error(
"TSelector::GetSelector",
220 "class %s does not exist or does not derive from TSelector",
filename);
241 ::Info(
"TSelector::IsStandardDraw",
242 "selector name undefined - do nothing");
246 bool stdselec =
false;
247 if (!strchr(selec,
'.')) {
248 if (strstr(selec,
"TSelectorDraw")) {
282 while ((o = nxexo())) {
288 while ((o = nxo())) {
294 output->Clear(
"nodelete");
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 Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
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 Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
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 Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
R__EXTERN TInterpreter * gCling
R__EXTERN TSystem * gSystem
TClass instances represent classes, structs and namespaces in the ROOT type system.
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
Bool_t InheritsFrom(const char *cl) const override
Return kTRUE if this class inherits from a class with name "classname".
Int_t GetBaseClassOffset(const TClass *toBase, void *address=nullptr, bool isDerivedObject=true)
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
void Delete(Option_t *option="") override
Remove all objects from the list AND delete all heap based objects.
virtual void * ClassInfo_New(ClassInfo_t *) const
virtual Bool_t ClassInfo_IsValid(ClassInfo_t *) const
virtual void ClassInfo_Delete(ClassInfo_t *) const
virtual Bool_t ClassInfo_IsBase(ClassInfo_t *, const char *) const
virtual const char * ClassInfo_FullName(ClassInfo_t *) const
virtual Int_t AutoLoad(const char *classname, Bool_t knowDictNotLoaded=kFALSE)=0
virtual ClassInfo_t * ClassInfo_Factory(Bool_t=kTRUE) const =0
void Add(TObject *obj) override
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
A TList derived class that makes sure that objects added to it are not linked to the currently open f...
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
static bool IsStandardDraw(const char *selec)
Find out if this is a standard selection used for Draw actions (either TSelectorDraw,...
TList * fInput
List of objects available during processing.
virtual void ProcessFill(Long64_t)
This method is called for all selected entries.
virtual bool ProcessCut(Long64_t)
This method is called before processing entry.
virtual bool Process(Long64_t)
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
virtual void ImportOutput(TList *output)
Imports the content of 'output' in the internal output list.
TSelectorList * fOutput
! List of objects created during processing
Long64_t fStatus
Selector status.
virtual void Abort(const char *why, EAbort what=kAbortProcess)
Abort processing.
TObject * fObject
! Current object if processing object (vs. TTree)
~TSelector() override
Selector destructor.
EAbort fAbort
Abort status.
TSelector()
Default selector ctor.
static TSelector * GetSelector(const char *filename)
The code in filename is loaded (interpreted or compiled, see below), filename must contain a valid cl...
const char * Data() const
Ssiz_t Last(char c) const
Find last occurrence of a character c.
TString & Remove(Ssiz_t pos)
virtual TString SplitAclicMode(const char *filename, TString &mode, TString &args, TString &io) const
This method split a filename of the form:
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.