121 mess =
"AbortProcess";
125 Info(mess,
"%s", why);
147 if (strchr(filename,
'.') != 0) {
150 localname += filename;
151 gROOT->ProcessLine(localname);
159 ::Error(
"TSelector::GetSelector",
"unable to determine the classname for file %s", filename);
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);
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");
247 if (!strchr(selec,
'.')) {
248 if (strstr(selec,
"TSelectorDraw")) {
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
TSelectorList * fOutput
! List of objects created during processing
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 Bool_t ClassInfo_IsValid(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.
Int_t GetBaseClassOffset(const TClass *toBase, void *address=0, bool isDerivedObject=true)
virtual void ProcessFill(Long64_t)
virtual ClassInfo_t * ClassInfo_Factory(Bool_t=kTRUE) const =0
virtual Int_t AutoLoad(const char *classname, Bool_t knowDictNotLoaded=kFALSE)=0
virtual void * ClassInfo_New(ClassInfo_t *) const
void Error(const char *location, const char *msgfmt,...)
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).
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
The ROOT global object gROOT contains a list of all defined classes.
Bool_t InheritsFrom(const char *cl) const
Return kTRUE if this class inherits from a class with name "classname".
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)
Ssiz_t Last(char c) const
Find last occurrence of a character c.
EAbort fAbort
Abort status.
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.
virtual void ClassInfo_Delete(ClassInfo_t *) const
virtual const char * ClassInfo_FullName(ClassInfo_t *) const
virtual Bool_t ClassInfo_IsBase(ClassInfo_t *, const char *) const
A TList derived class that makes sure that objects added to it are not linked to the currently open f...
R__EXTERN TInterpreter * gCling
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
const char * Data() const