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);
191 char *result = (
char*)selCl->
New();
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")) {
282 while ((o = nxexo())) {
288 while ((o = nxo())) {
294 output->Clear(
"nodelete");
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.
Int_t GetBaseClassOffset(const TClass *toBase, void *address=0, bool isDerivedObject=true)
Bool_t InheritsFrom(const char *cl) const
Return kTRUE if this class inherits from a class with name "classname".
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="")
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
virtual void Add(TObject *obj)
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...
TList * fInput
List of objects available during processing.
virtual void ProcessFill(Long64_t)
This method is called for all selected entries.
virtual void ImportOutput(TList *output)
Imports the content of 'output' in the internal output list.
TSelectorList * fOutput
! List of objects created during processing
virtual Bool_t Process(Long64_t)
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
static Bool_t IsStandardDraw(const char *selec)
Find out if this is a standard selection used for Draw actions (either TSelectorDraw,...
Long64_t fStatus
Selector status.
virtual Bool_t ProcessCut(Long64_t)
This method is called before processing entry.
virtual void Abort(const char *why, EAbort what=kAbortProcess)
Abort processing.
TObject * fObject
! Current object if processing object (vs. TTree)
EAbort fAbort
Abort status.
virtual ~TSelector()
Selector destructor.
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.
static void output(int code)