Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TProofPlayerRemote Class Reference

Definition at line 279 of file TProofPlayer.h.

Public Member Functions

 TProofPlayerRemote (TProof *proof=0)
 
 ~TProofPlayerRemote () override
 Destructor.
 
void AddOutput (TList *out) override
 Incorporate the content of the received output list 'out' into the final output list fOutput.
 
Int_t AddOutputObject (TObject *obj) override
 Incorporate the received object 'obj' into the output list fOutput.
 
Long64_t DrawSelect (TDSet *set, const char *varexp, const char *selection, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0) override
 Draw (support for TChain::Draw()).
 
void Feedback (TList *objs) override
 Feedback signal.
 
Long64_t Finalize (Bool_t force=kFALSE, Bool_t sync=kFALSE) override
 Finalize query (may not be used in this class).
 
Long64_t Finalize (TQueryResult *qr) override
 Finalize the results of a query already processed.
 
TDSetElementGetNextPacket (TSlave *slave, TMessage *r) override
 Get next packet for specified slave.
 
TVirtualPacketizerGetPacketizer () const override
 
TObjectHandleHistogram (TObject *obj, Bool_t &merged)
 Low statistic histograms need a special treatment when using autobin.
 
Bool_t HistoSameAxis (TH1 *h0, TH1 *h1)
 Return kTRUE is the histograms 'h0' and 'h1' have the same binning and ranges on the axis (i.e.
 
Int_t Incorporate (TObject *obj, TList *out, Bool_t &merged)
 Incorporate object 'newobj' in the list 'outlist'.
 
TClassIsA () const override
 
Bool_t IsClient () const override
 Is the player running on the client?
 
Bool_t JoinProcess (TList *workers) override
 Prepares the given list of new workers to join a progressing process.
 
void MergeOutput (Bool_t savememvalues=kFALSE) override
 Merge objects in output the lists.
 
Long64_t Process (TDSet *set, const char *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0) override
 Process specified TDSet on PROOF.
 
Long64_t Process (TDSet *set, TSelector *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0) override
 Process specified TDSet on PROOF.
 
void Progress (Long64_t total, Long64_t processed) override
 Progress signal.
 
void Progress (Long64_t total, Long64_t processed, Long64_t bytesread, Float_t initTime, Float_t procTime, Float_t evtrti, Float_t mbrti) override
 Progress signal.
 
void Progress (TProofProgressInfo *pi) override
 Progress signal.
 
void Progress (TSlave *, Long64_t total, Long64_t processed) override
 
void Progress (TSlave *, Long64_t total, Long64_t processed, Long64_t bytesread, Float_t initTime, Float_t procTime, Float_t evtrti, Float_t mbrti) override
 
void Progress (TSlave *, TProofProgressInfo *pi) override
 
void RedirectOutput (Bool_t on=kTRUE)
 Control output redirection to TProof::fLogFileW.
 
void SetInitTime () override
 Set init time.
 
void SetMerging (Bool_t on=kTRUE) override
 Switch on/off merge timer.
 
void StopProcess (Bool_t abort, Int_t timeout=-1) override
 Stop process after this event.
 
void StoreFeedback (TObject *slave, TList *out) override
 Store feedback results from the specified slave.
 
void StoreOutput (TList *out) override
 Store received output list.
 
void Streamer (TBuffer &) override
 Stream an object of class TObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TProofPlayer
 TProofPlayer (TProof *proof=0)
 Default ctor.
 
 ~TProofPlayer () override
 Destructor.
 
void AddEventsProcessed (Long64_t ev) override
 
void AddInput (TObject *inp) override
 Add object to input list.
 
void AddQueryResult (TQueryResult *q) override
 Add query result to the list, making sure that there are no duplicates.
 
void ClearInput () override
 Clear input list.
 
TDrawFeedbackCreateDrawFeedback (TProof *p) override
 Draw feedback creation proxy.
 
void DeleteDrawFeedback (TDrawFeedback *f) override
 Delete draw feedback object.
 
void FeedBackCanvas (const char *name, Bool_t create)
 Create/destroy a named canvas for feedback.
 
Long64_t GetCacheSize () override
 Return the size in bytes of the cache.
 
TQueryResultGetCurrentQuery () const override
 
Int_t GetDrawArgs (const char *var, const char *sel, Option_t *opt, TString &selector, TString &objname) override
 Parse the arguments from var, sel and opt and fill the selector and object name accordingly.
 
Long64_t GetEventsProcessed () const override
 
EExitStatus GetExitStatus () const override
 
TListGetInputList () const override
 
Int_t GetLearnEntries () override
 Return the number of entries in the learning phase.
 
TListGetListOfResults () const override
 
TObjectGetOutput (const char *name) const override
 Get output object by name.
 
TListGetOutputList () const override
 Get output list.
 
TProofProgressStatusGetProgressStatus () const override
 
TQueryResultGetQueryResult (const char *ref) override
 Get query result instances referenced 'ref' from the list of results.
 
void HandleGetTreeHeader (TMessage *mess) override
 Handle tree header request.
 
void HandleRecvHisto (TMessage *mess) override
 Receive histo from slave.
 
Int_t ReinitSelector (TQueryResult *qr) override
 Reinitialize fSelector using the selector files in the query result.
 
void RemoveQueryResult (const char *ref) override
 Remove all query result instances referenced 'ref' from the list of results.
 
void RestorePreviousQuery () override
 
Int_t SavePartialResults (Bool_t queryend=kFALSE, Bool_t force=kFALSE) override
 Save the partial results of this query to a dedicated file under the user data directory.
 
void SetCurrentQuery (TQueryResult *q) override
 Set current query and save previous value.
 
void SetDispatchTimer (Bool_t on=kTRUE) override
 Enable/disable the timer to dispatch pening events while processing.
 
void SetDrawFeedbackOption (TDrawFeedback *f, Option_t *opt) override
 Set draw feedback option.
 
void SetExitStatus (EExitStatus st) override
 
void SetMaxDrawQueries (Int_t max) override
 
void SetOutputFilePath (const char *fp) override
 
void SetProcessing (Bool_t on=kTRUE)
 Set processing bit according to 'on'.
 
void SetStopTimer (Bool_t on=kTRUE, Bool_t abort=kFALSE, Int_t timeout=0) override
 Enable/disable the timer to stop/abort processing.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
void UpdateAutoBin (const char *name, Double_t &xmin, Double_t &xmax, Double_t &ymin, Double_t &ymax, Double_t &zmin, Double_t &zmax) override
 Update automatic binning parameters for given object "name".
 
void UpdateProgressInfo () override
 Update fProgressStatus.
 
- Public Member Functions inherited from TVirtualProofPlayer
 TVirtualProofPlayer ()
 
 ~TVirtualProofPlayer () override
 
TClassIsA () const override
 
void Streamer (TBuffer &) override
 Stream an object of class TObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility.
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method.
 
virtual void Copy (TObject &object) const
 Copy this to obj.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 Execute method on this object with the given parameter string, e.g.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
virtual const char * GetName () const
 Returns name of object.
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object.
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual ULong_t Hash () const
 Return hash value for this object.
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 IsDestructed.
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout.
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification (the base implementation is no-op).
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete (void *ptr, void *vp)
 Only called by placement new when throwing an exception.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
void operator delete[] (void *ptr, void *vp)
 Only called by placement new[] when throwing an exception.
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *vp)
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator.
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 
- Public Member Functions inherited from TQObject
 TQObject ()
 TQObject Constructor.
 
virtual ~TQObject ()
 TQObject Destructor.
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 Collect class signal lists from class cls and all its base-classes.
 
Bool_t Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Non-static method is used to connect from the signal of this object to the receiver slot.
 
virtual void Connected (const char *)
 
virtual void Destroyed ()
 
Bool_t Disconnect (const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects signal of this object from slot of receiver.
 
virtual void Disconnected (const char *)
 
void Emit (const char *signal)
 Activate signal without args.
 
template<typename T >
void Emit (const char *signal, const T &arg)
 Activate signal with single parameter.
 
template<typename... T>
void EmitVA (const char *signal_name, Int_t, const T &... params)
 Emit a signal with a varying number of arguments.
 
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class.
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal.
 
virtual void HighPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void Message (const char *msg)
 
virtual Int_t NumberOfConnections () const
 Return number of connections for this object.
 
virtual Int_t NumberOfSignals () const
 Return number of signals for this object.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TProofPlayer
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TVirtualProofPlayer
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static TVirtualProofPlayerCreate (const char *player, TProof *p, TSocket *s=0)
 Create a PROOF player.
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 
- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 Returns true if all signals are blocked.
 
static Bool_t BlockAllSignals (Bool_t b)
 Block or unblock all signals. Returns the previous block status.
 
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 This method allows to make a connection from any object of the same class to a single slot.
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
 
static const char * DeclFileName ()
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects "class signal".
 
static Bool_t Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects signal in object sender from slot_method in object receiver.
 

Protected Member Functions

TProofGetProof () const
 
Bool_t HandleTimer (TTimer *timer) override
 Send feedback objects to client.
 
Int_t InitPacketizer (TDSet *dset, Long64_t nentries, Long64_t first, const char *defpackunit, const char *defpackdata)
 Init the packetizer Return 0 on success (fPacketizer is correctly initialized), -1 on failure.
 
TListMergeFeedback ()
 Merge feedback lists.
 
Bool_t MergeOutputFiles ()
 Merge output in files.
 
void NotifyMemory (TObject *obj)
 Printout the memory record after merging object 'obj' This record is used by the memory monitor.
 
virtual Bool_t SendSelector (const char *selector_file)
 Send the selector file(s) to master or worker nodes.
 
void SetLastMergingMsg (TObject *obj)
 Set the message to be notified in case of exception.
 
void SetSelectorDataMembersFromOutputList ()
 Set the selector's data members: find the mapping of data members to otuput list entries in the output list and apply it.
 
void SetupFeedback () override
 Setup reporting of feedback objects.
 
void StopFeedback () override
 Stop reporting of feedback objects.
 
- Protected Member Functions inherited from TProofPlayer
Int_t AssertSelector (const char *selector_file)
 Make sure that a valid selector object Return -1 in case of problems, 0 otherwise.
 
Bool_t CheckMemUsage (Long64_t &mfreq, Bool_t &w80r, Bool_t &w80v, TString &wmsg)
 Check the memory usage, if requested.
 
virtual Int_t DrawCanvas (TObject *obj)
 Draw the object if it is a canvas.
 
void * GetSender () override
 
void MapOutputListToDataMembers () const
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
 
void MakeZombie ()
 
- Protected Member Functions inherited from TQObject
virtual const char * GetSenderClassName () const
 

Protected Attributes

TDSetfDSet
 
ErrorHandlerFunc_t fErrorHandler
 tdset for current processing
 
TListfFeedback
 
TListfFeedbackLists
 
Bool_t fMergeFiles
 
TStopwatchfMergeSTW
 
Bool_t fMergeTH1OneByOne
 
Int_t fNumMergers
 
TListfOutputLists
 
TVirtualPacketizerfPacketizer
 
TMessagefProcessMessage
 Histogram with packets being processed (owned by TPerfStats)
 
TH1fProcPackets
 
TProoffProof
 
TString fSelectorFileName
 
- Protected Attributes inherited from TProofPlayer
Bool_t fCreateSelObj
 the latest selector
 
TTimerfDispatchTimer
 
Int_t fDrawQueries
 
TEventIterfEvIter
 period (ms) for sending intermediate results
 
EExitStatus fExitStatus
 status of query in progress
 
Long_t fFeedbackPeriod
 timer for sending intermediate results
 
TTimerfFeedbackTimer
 class of the latest selector
 
TListfInput
 
Int_t fMaxDrawQueries
 
THashListfOutput
 
TFilefOutputFile
 
TString fOutputFilePath
 
TQueryResultfPreviousQuery
 
Long64_t fProcessedRun
 Read calls in this run.
 
TStopwatchfProcTime
 
TTimerfProcTimeTimer
 
TProofProgressStatusfProgressStatus
 
TQueryResultfQuery
 
TListfQueryResults
 Events processed in this run.
 
Long64_t fReadBytesRun
 
Long64_t fReadCallsRun
 Bytes read in this run.
 
Long_t fSaveMemThreshold
 
Bool_t fSavePartialResults
 
Bool_t fSaveResultsPerPacket
 
TSelectorfSelector
 
TClassfSelectorClass
 kTRUE when fSelector has been created locally
 
TStatusfSelStatus
 iterator on events or objects
 
TTimerfStopTimer
 
std::mutex fStopTimerMtx
 
Long64_t fTotalEvents
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 list of signals from this object
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 list of connections to this object
 

Additional Inherited Members

- Public Types inherited from TProofPlayer
enum  EStatusBits { kDispatchOneEvent = (1ULL << ( 15 )) , kIsProcessing = (1ULL << ( 16 )) , kMaxProcTimeReached = (1ULL << ( 17 )) , kMaxProcTimeExtended = (1ULL << ( 18 )) }
 
- Public Types inherited from TVirtualProofPlayer
enum  EExitStatus { kFinished , kStopped , kAborted }
 
enum  EStatusBits { kIsSubmerger = (1ULL << ( 14 )) }
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) }
 
enum  EStatusBits {
  kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) ,
  kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 ))
}
 
- Protected Types inherited from TObject
enum  { kOnlyPrepStep = (1ULL << ( 3 )) }
 
- Static Protected Member Functions inherited from TQObject
static Int_t CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
 Checking of consistency of sender/receiver methods/arguments.
 
static TString CompressName (const char *method_name)
 Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature.
 
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 This method allows to make connection from any object of the same class to the receiver object.
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
 
- Static Protected Attributes inherited from TProofPlayer
static THashListfgDrawInputPars = 0
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals
 

#include <TProofPlayer.h>

Inheritance diagram for TProofPlayerRemote:
[legend]

Constructor & Destructor Documentation

◆ TProofPlayerRemote()

TProofPlayerRemote::TProofPlayerRemote ( TProof proof = 0)
inline

Definition at line 313 of file TProofPlayer.h.

◆ ~TProofPlayerRemote()

TProofPlayerRemote::~TProofPlayerRemote ( )
override

Destructor.

Definition at line 1899 of file TProofPlayer.cxx.

Member Function Documentation

◆ AddOutput()

void TProofPlayerRemote::AddOutput ( TList out)
overridevirtual

Incorporate the content of the received output list 'out' into the final output list fOutput.

The latter is created if not existing. This method short cuts 'StoreOutput + MergeOutput' limiting the memory consumption.

Reimplemented from TProofPlayer.

Definition at line 3507 of file TProofPlayer.cxx.

◆ AddOutputObject()

Int_t TProofPlayerRemote::AddOutputObject ( TObject obj)
overridevirtual

Incorporate the received object 'obj' into the output list fOutput.

The latter is created if not existing. This method short cuts 'StoreOutput + MergeOutput' optimizing the memory consumption. Returns -1 in case of error, 1 if the object has been merged into another one (so that its ownership has not been taken and can be deleted), and 0 otherwise.

Reimplemented from TProofPlayer.

Definition at line 3344 of file TProofPlayer.cxx.

◆ Class()

static TClass * TProofPlayerRemote::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TProofPlayerRemote::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TProofPlayerRemote::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 366 of file TProofPlayer.h.

◆ DeclFileName()

static const char * TProofPlayerRemote::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 366 of file TProofPlayer.h.

◆ DrawSelect()

Long64_t TProofPlayerRemote::DrawSelect ( TDSet set,
const char *  varexp,
const char *  selection,
Option_t option = "",
Long64_t  nentries = -1,
Long64_t  firstentry = 0 
)
overridevirtual

Draw (support for TChain::Draw()).

Returns -1 in case of error or number of selected events in case of success.

Reimplemented from TProofPlayer.

Definition at line 4232 of file TProofPlayer.cxx.

◆ Feedback()

void TProofPlayerRemote::Feedback ( TList objs)
overridevirtual

Feedback signal.

Reimplemented from TProofPlayer.

Definition at line 3317 of file TProofPlayer.cxx.

◆ Finalize() [1/2]

Long64_t TProofPlayerRemote::Finalize ( Bool_t  force = kFALSE,
Bool_t  sync = kFALSE 
)
overridevirtual

Finalize query (may not be used in this class).

Reimplemented from TProofPlayer.

Definition at line 2781 of file TProofPlayer.cxx.

◆ Finalize() [2/2]

Long64_t TProofPlayerRemote::Finalize ( TQueryResult qr)
overridevirtual

Finalize the results of a query already processed.

Reimplemented from TProofPlayer.

Definition at line 2973 of file TProofPlayer.cxx.

◆ GetNextPacket()

TDSetElement * TProofPlayerRemote::GetNextPacket ( TSlave slave,
TMessage r 
)
overridevirtual

Get next packet for specified slave.

Reimplemented from TProofPlayer.

Definition at line 4188 of file TProofPlayer.cxx.

◆ GetPacketizer()

TVirtualPacketizer * TProofPlayerRemote::GetPacketizer ( ) const
inlineoverridevirtual

Reimplemented from TProofPlayer.

Definition at line 358 of file TProofPlayer.h.

◆ GetProof()

TProof * TProofPlayerRemote::GetProof ( ) const
inlineprotected

Definition at line 307 of file TProofPlayer.h.

◆ HandleHistogram()

TObject * TProofPlayerRemote::HandleHistogram ( TObject obj,
Bool_t merged 
)

Low statistic histograms need a special treatment when using autobin.

Definition at line 3695 of file TProofPlayer.cxx.

◆ HandleTimer()

Bool_t TProofPlayerRemote::HandleTimer ( TTimer timer)
overrideprotectedvirtual

Send feedback objects to client.

Reimplemented from TObject.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 4130 of file TProofPlayer.cxx.

◆ HistoSameAxis()

Bool_t TProofPlayerRemote::HistoSameAxis ( TH1 h0,
TH1 h1 
)

Return kTRUE is the histograms 'h0' and 'h1' have the same binning and ranges on the axis (i.e.

if they can be just Add-ed for merging).

Definition at line 3811 of file TProofPlayer.cxx.

◆ Incorporate()

Int_t TProofPlayerRemote::Incorporate ( TObject newobj,
TList outlist,
Bool_t merged 
)

Incorporate object 'newobj' in the list 'outlist'.

The object is merged with an object of the same name already existing in the list, or just added. The boolean merged is set to kFALSE when the object is just added to 'outlist'; this happens if the Merge() method does not exist or if a object named as 'obj' is not already in the list. If the obj is not 'merged' than it should not be deleted, unless outlist is not owner of its objects. Return 0 on success, -1 on error.

Definition at line 3629 of file TProofPlayer.cxx.

◆ InitPacketizer()

Int_t TProofPlayerRemote::InitPacketizer ( TDSet dset,
Long64_t  nentries,
Long64_t  first,
const char *  defpackunit,
const char *  defpackdata 
)
protected

Init the packetizer Return 0 on success (fPacketizer is correctly initialized), -1 on failure.

Definition at line 1915 of file TProofPlayer.cxx.

◆ IsA()

TClass * TProofPlayerRemote::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 366 of file TProofPlayer.h.

◆ IsClient()

Bool_t TProofPlayerRemote::IsClient ( ) const
overridevirtual

Is the player running on the client?

Reimplemented from TProofPlayer.

Definition at line 4223 of file TProofPlayer.cxx.

◆ JoinProcess()

Bool_t TProofPlayerRemote::JoinProcess ( TList workers)
overridevirtual

Prepares the given list of new workers to join a progressing process.

Returns kTRUE on success, kFALSE otherwise.

Reimplemented from TProofPlayer.

Definition at line 2533 of file TProofPlayer.cxx.

◆ MergeFeedback()

TList * TProofPlayerRemote::MergeFeedback ( )
protected

Merge feedback lists.

Definition at line 3926 of file TProofPlayer.cxx.

◆ MergeOutput()

void TProofPlayerRemote::MergeOutput ( Bool_t  savememvalues = kFALSE)
overridevirtual

Merge objects in output the lists.

Reimplemented from TProofPlayer.

Definition at line 3114 of file TProofPlayer.cxx.

◆ MergeOutputFiles()

Bool_t TProofPlayerRemote::MergeOutputFiles ( )
protected

Merge output in files.

Definition at line 2582 of file TProofPlayer.cxx.

◆ NotifyMemory()

void TProofPlayerRemote::NotifyMemory ( TObject obj)
protected

Printout the memory record after merging object 'obj' This record is used by the memory monitor.

Definition at line 3593 of file TProofPlayer.cxx.

◆ Process() [1/2]

Long64_t TProofPlayerRemote::Process ( TDSet dset,
const char *  selector_file,
Option_t option = "",
Long64_t  nentries = -1,
Long64_t  first = 0 
)
overridevirtual

Process specified TDSet on PROOF.

This method is called on client and on the PROOF master. The return value is -1 in case of an error and TSelector::GetStatus() in in case of success.

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 2174 of file TProofPlayer.cxx.

◆ Process() [2/2]

Long64_t TProofPlayerRemote::Process ( TDSet dset,
TSelector selector,
Option_t option = "",
Long64_t  nentries = -1,
Long64_t  first = 0 
)
overridevirtual

Process specified TDSet on PROOF.

This method is called on client and on the PROOF master. The return value is -1 in case of an error and TSelector::GetStatus() in in case of success.

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 2506 of file TProofPlayer.cxx.

◆ Progress() [1/6]

void TProofPlayerRemote::Progress ( Long64_t  total,
Long64_t  processed 
)
overridevirtual

Progress signal.

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 3252 of file TProofPlayer.cxx.

◆ Progress() [2/6]

void TProofPlayerRemote::Progress ( Long64_t  total,
Long64_t  processed,
Long64_t  bytesread,
Float_t  initTime,
Float_t  procTime,
Float_t  evtrti,
Float_t  mbrti 
)
overridevirtual

Progress signal.

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 3267 of file TProofPlayer.cxx.

◆ Progress() [3/6]

void TProofPlayerRemote::Progress ( TProofProgressInfo pi)
overridevirtual

Progress signal.

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 3289 of file TProofPlayer.cxx.

◆ Progress() [4/6]

void TProofPlayerRemote::Progress ( TSlave ,
Long64_t  total,
Long64_t  processed 
)
inlineoverridevirtual

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 344 of file TProofPlayer.h.

◆ Progress() [5/6]

void TProofPlayerRemote::Progress ( TSlave ,
Long64_t  total,
Long64_t  processed,
Long64_t  bytesread,
Float_t  initTime,
Float_t  procTime,
Float_t  evtrti,
Float_t  mbrti 
)
inlineoverridevirtual

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 349 of file TProofPlayer.h.

◆ Progress() [6/6]

void TProofPlayerRemote::Progress ( TSlave ,
TProofProgressInfo pi 
)
inlineoverridevirtual

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 355 of file TProofPlayer.h.

◆ RedirectOutput()

void TProofPlayerRemote::RedirectOutput ( Bool_t  on = kTRUE)

Control output redirection to TProof::fLogFileW.

Definition at line 3488 of file TProofPlayer.cxx.

◆ SendSelector()

Bool_t TProofPlayerRemote::SendSelector ( const char *  selector_file)
protectedvirtual

Send the selector file(s) to master or worker nodes.

Definition at line 3044 of file TProofPlayer.cxx.

◆ SetInitTime()

void TProofPlayerRemote::SetInitTime ( )
overridevirtual

Set init time.

Reimplemented from TProofPlayer.

Definition at line 4306 of file TProofPlayer.cxx.

◆ SetLastMergingMsg()

void TProofPlayerRemote::SetLastMergingMsg ( TObject obj)
protected

Set the message to be notified in case of exception.

Definition at line 3613 of file TProofPlayer.cxx.

◆ SetMerging()

void TProofPlayerRemote::SetMerging ( Bool_t  on = kTRUE)
overridevirtual

Switch on/off merge timer.

Reimplemented from TProofPlayer.

Definition at line 1814 of file TProofPlayer.cxx.

◆ SetSelectorDataMembersFromOutputList()

void TProofPlayerRemote::SetSelectorDataMembersFromOutputList ( )
protected

Set the selector's data members: find the mapping of data members to otuput list entries in the output list and apply it.

Definition at line 2766 of file TProofPlayer.cxx.

◆ SetupFeedback()

void TProofPlayerRemote::SetupFeedback ( )
overrideprotectedvirtual

Setup reporting of feedback objects.

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

Definition at line 4095 of file TProofPlayer.cxx.

◆ StopFeedback()

void TProofPlayerRemote::StopFeedback ( )
overrideprotectedvirtual

Stop reporting of feedback objects.

Reimplemented from TProofPlayer.

Definition at line 4118 of file TProofPlayer.cxx.

◆ StopProcess()

void TProofPlayerRemote::StopProcess ( Bool_t  abort,
Int_t  timeout = -1 
)
overridevirtual

Stop process after this event.

Reimplemented from TProofPlayer.

Definition at line 3325 of file TProofPlayer.cxx.

◆ StoreFeedback()

void TProofPlayerRemote::StoreFeedback ( TObject slave,
TList out 
)
overridevirtual

Store feedback results from the specified slave.

Reimplemented from TProofPlayer.

Definition at line 4034 of file TProofPlayer.cxx.

◆ StoreOutput()

void TProofPlayerRemote::StoreOutput ( TList out)
overridevirtual

Store received output list.

Reimplemented from TProofPlayer.

Definition at line 3852 of file TProofPlayer.cxx.

◆ Streamer()

void TProofPlayerRemote::Streamer ( TBuffer R__b)
overridevirtual

Stream an object of class TObject.

Reimplemented from TProofPlayer.

Reimplemented in TProofPlayerSuperMaster.

◆ StreamerNVirtual()

void TProofPlayerRemote::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 366 of file TProofPlayer.h.

Member Data Documentation

◆ fDSet

TDSet* TProofPlayerRemote::fDSet
protected

Definition at line 288 of file TProofPlayer.h.

◆ fErrorHandler

ErrorHandlerFunc_t TProofPlayerRemote::fErrorHandler
protected

tdset for current processing

Definition at line 289 of file TProofPlayer.h.

◆ fFeedback

TList* TProofPlayerRemote::fFeedback
protected

Definition at line 284 of file TProofPlayer.h.

◆ fFeedbackLists

TList* TProofPlayerRemote::fFeedbackLists
protected

Definition at line 285 of file TProofPlayer.h.

◆ fMergeFiles

Bool_t TProofPlayerRemote::fMergeFiles
protected

Definition at line 287 of file TProofPlayer.h.

◆ fMergeSTW

TStopwatch* TProofPlayerRemote::fMergeSTW
protected

Definition at line 295 of file TProofPlayer.h.

◆ fMergeTH1OneByOne

Bool_t TProofPlayerRemote::fMergeTH1OneByOne
protected

Definition at line 290 of file TProofPlayer.h.

◆ fNumMergers

Int_t TProofPlayerRemote::fNumMergers
protected

Definition at line 296 of file TProofPlayer.h.

◆ fOutputLists

TList* TProofPlayerRemote::fOutputLists
protected

Definition at line 283 of file TProofPlayer.h.

◆ fPacketizer

TVirtualPacketizer* TProofPlayerRemote::fPacketizer
protected

Definition at line 286 of file TProofPlayer.h.

◆ fProcessMessage

TMessage* TProofPlayerRemote::fProcessMessage
protected

Histogram with packets being processed (owned by TPerfStats)

Definition at line 292 of file TProofPlayer.h.

◆ fProcPackets

TH1* TProofPlayerRemote::fProcPackets
protected

Definition at line 291 of file TProofPlayer.h.

◆ fProof

TProof* TProofPlayerRemote::fProof
protected

Definition at line 282 of file TProofPlayer.h.

◆ fSelectorFileName

TString TProofPlayerRemote::fSelectorFileName
protected

Definition at line 293 of file TProofPlayer.h.

  • proof/proofplayer/inc/TProofPlayer.h
  • proof/proofplayer/src/TProofPlayer.cxx