119 mess =
"AbortProcess";
123 Info(mess,
"%s", why);
145 if (strchr(filename,
'.') != 0) {
149 gROOT->ProcessLine(localname);
157 ::Error(
"TSelector::GetSelector",
"unable to determine the classname for file %s", filename);
180 ::Error(
"TSelector::GetSelector",
181 "The class %s in file %s does not derive from TSelector.", localname.
Data(),
filename);
182 else if (autoloaderr)
183 ::Error(
"TSelector::GetSelector",
"class %s could not be loaded", filename);
185 ::Error(
"TSelector::GetSelector",
186 "class %s does not exist or does not derive from TSelector", filename);
207 ::Error(
"TSelector::GetSelector",
208 "The class %s in file %s does not derive from TSelector.", localname.
Data(),
filename);
210 ::Error(
"TSelector::GetSelector",
211 "The file %s does not define a class named %s.", filename, localname.
Data());
215 ::Error(
"TSelector::GetSelector",
"class %s could not be loaded", filename);
217 ::Error(
"TSelector::GetSelector",
218 "class %s does not exist or does not derive from TSelector", filename);
239 ::Info(
"TSelector::IsStandardDraw",
240 "selector name undefined - do nothing");
245 if (!strchr(selec,
'.')) {
246 if (strstr(selec,
"TSelectorDraw")) {
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
Ssiz_t Last(char c) const
Find last occurrence of a character c.
virtual TString SplitAclicMode(const char *filename, TString &mode, TString &args, TString &io) const
This method split a filename of the form: ~~~ {.cpp} [path/]macro.C[+|++[k|f|g|O|c|s|d|v|-]][(args)]...
virtual void ClassInfo_Delete(ClassInfo_t *) const
virtual Bool_t ProcessCut(Long64_t)
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
virtual void * ClassInfo_New(ClassInfo_t *) const
static const char * filename()
const char * Data() const
Int_t GetBaseClassOffset(const TClass *toBase, void *address=0, bool isDerivedObject=true)
virtual void ProcessFill(Long64_t)
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
virtual ClassInfo_t * ClassInfo_Factory(Bool_t=kTRUE) const =0
virtual Int_t AutoLoad(const char *classname, Bool_t knowDictNotLoaded=kFALSE)=0
virtual Bool_t ClassInfo_IsBase(ClassInfo_t *, const char *) const
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual Bool_t ClassInfo_IsValid(ClassInfo_t *) const
void Error(const char *location, const char *msgfmt,...)
virtual const char * ClassInfo_FullName(ClassInfo_t *) const
ClassImp(TSelector) TSelector
Default selector ctor.
R__EXTERN TSystem * gSystem
virtual void Abort(const char *why, EAbort what=kAbortProcess)
Abort processing.
static Bool_t IsStandardDraw(const char *selec)
Find out if this is a standard selection used for Draw actions (either TSelectorDraw, TProofDraw or deriving from them).
The ROOT global object gROOT contains a list of all defined classes.
static TSelector * GetSelector(const char *filename)
The code in filename is loaded (interpreted or compiled, see below), filename must contain a valid cl...
TString & Remove(Ssiz_t pos)
virtual ~TSelector()
Selector destructor.
virtual Bool_t Process(Long64_t)
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.
Mother of all ROOT objects.
A TList derived class that makes sure that objects added to it are not linked to the currently open f...
Bool_t InheritsFrom(const char *cl) const
Return kTRUE if this class inherits from a class with name "classname".
R__EXTERN TInterpreter * gCling
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...