TPacketizerAdaptive::TFileNode Class Reference

Inheritance diagram for TPacketizerAdaptive::TFileNode:

TObject List of all members.

Public Member Functions

 TFileNode (const char *name, Int_t strategy, TSortedList *files)
 ~TFileNode ()
void IncMySlaveCnt ()
Int_t GetMySlaveCnt () const
void IncExtSlaveCnt (const char *slave)
void DecExtSlaveCnt (const char *slave)
Int_t GetSlaveCnt () const
void IncRunSlaveCnt ()
void DecRunSlaveCnt ()
Int_t GetRunSlaveCnt () const
Int_t GetExtSlaveCnt () const
Int_t GetNumberOfActiveFiles () const
Bool_t IsSortable () const
Int_t GetNumberOfFiles ()
void IncProcessed (Long64_t nEvents)
Long64_t GetProcessed () const
void DecreaseProcessed (Long64_t nEvents)
Long64_t GetEventsLeftPerSlave () const
void IncEvents (Long64_t nEvents)
const char * GetName () const
Long64_t GetNEvents () const
void Print (Option_t *=0) const
void Add (TDSetElement *elem, Bool_t tolist)
TFileStatGetNextUnAlloc ()
TFileStatGetNextActive ()
void RemoveActive (TFileStat *file)
Int_t Compare (const TObject *other) const
void Reset ()

Private Attributes

TString fNodeName
TListfFiles
TObjectfUnAllocFileNext
TListfActFiles
TObjectfActFileNext
Int_t fMySlaveCnt
Int_t fExtSlaveCnt
Int_t fRunSlaveCnt
Long64_t fProcessed
Long64_t fEvents
Int_t fStrategy
TSortedListfFilesToProcess

Detailed Description

Definition at line 135 of file TPacketizerAdaptive.cxx.


Constructor & Destructor Documentation

TPacketizerAdaptive::TFileNode::TFileNode ( const char *  name,
Int_t  strategy,
TSortedList files 
)

Definition at line 321 of file TPacketizerAdaptive.cxx.

References fActFiles, fFiles, kFALSE, and TCollection::SetOwner().

TPacketizerAdaptive::TFileNode::~TFileNode (  )  [inline]

Definition at line 158 of file TPacketizerAdaptive.cxx.

References fActFiles, and fFiles.


Member Function Documentation

void TPacketizerAdaptive::TFileNode::IncMySlaveCnt (  )  [inline]

Definition at line 160 of file TPacketizerAdaptive.cxx.

References fMySlaveCnt.

Referenced by TPacketizerAdaptive::Reset().

Int_t TPacketizerAdaptive::TFileNode::GetMySlaveCnt (  )  const [inline]

Definition at line 161 of file TPacketizerAdaptive.cxx.

References fMySlaveCnt.

Referenced by TPacketizerAdaptive::GetNextPacket(), and TPacketizerAdaptive::Reset().

void TPacketizerAdaptive::TFileNode::IncExtSlaveCnt ( const char *  slave  )  [inline]

Definition at line 162 of file TPacketizerAdaptive.cxx.

References fExtSlaveCnt, and fNodeName.

Referenced by TPacketizerAdaptive::GetNextPacket(), and TPacketizerAdaptive::ValidateFiles().

void TPacketizerAdaptive::TFileNode::DecExtSlaveCnt ( const char *  slave  )  [inline]

Definition at line 163 of file TPacketizerAdaptive.cxx.

References fExtSlaveCnt, fNodeName, and R__ASSERT.

Referenced by TPacketizerAdaptive::GetNextPacket(), TPacketizerAdaptive::MarkBad(), and TPacketizerAdaptive::ValidateFiles().

Int_t TPacketizerAdaptive::TFileNode::GetSlaveCnt (  )  const [inline]

Definition at line 164 of file TPacketizerAdaptive.cxx.

References fExtSlaveCnt, and fMySlaveCnt.

Referenced by Compare().

void TPacketizerAdaptive::TFileNode::IncRunSlaveCnt (  )  [inline]

Definition at line 165 of file TPacketizerAdaptive.cxx.

References fRunSlaveCnt.

Referenced by TPacketizerAdaptive::GetNextPacket().

void TPacketizerAdaptive::TFileNode::DecRunSlaveCnt (  )  [inline]

Definition at line 166 of file TPacketizerAdaptive.cxx.

References fRunSlaveCnt, and R__ASSERT.

Referenced by TPacketizerAdaptive::GetNextPacket(), and TPacketizerAdaptive::MarkBad().

Int_t TPacketizerAdaptive::TFileNode::GetRunSlaveCnt (  )  const [inline]

Definition at line 167 of file TPacketizerAdaptive.cxx.

References fRunSlaveCnt.

Referenced by Compare(), and TPacketizerAdaptive::GetNextPacket().

Int_t TPacketizerAdaptive::TFileNode::GetExtSlaveCnt (  )  const [inline]

Definition at line 168 of file TPacketizerAdaptive.cxx.

References fExtSlaveCnt.

Referenced by TPacketizerAdaptive::GetNextPacket(), TPacketizerAdaptive::GetNextUnAlloc(), TPacketizerAdaptive::NextActiveNode(), and TPacketizerAdaptive::NextNode().

Int_t TPacketizerAdaptive::TFileNode::GetNumberOfActiveFiles (  )  const [inline]

Definition at line 169 of file TPacketizerAdaptive.cxx.

References fActFiles, and TCollection::GetSize().

Referenced by TPacketizerAdaptive::RemoveActive().

Bool_t TPacketizerAdaptive::TFileNode::IsSortable (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 170 of file TPacketizerAdaptive.cxx.

References kTRUE.

Int_t TPacketizerAdaptive::TFileNode::GetNumberOfFiles (  )  [inline]

Definition at line 171 of file TPacketizerAdaptive.cxx.

References fFiles, and TCollection::GetSize().

void TPacketizerAdaptive::TFileNode::IncProcessed ( Long64_t  nEvents  )  [inline]

Definition at line 172 of file TPacketizerAdaptive.cxx.

References fProcessed.

Referenced by TPacketizerAdaptive::TSlaveStat::UpdateRates().

Long64_t TPacketizerAdaptive::TFileNode::GetProcessed (  )  const [inline]

Definition at line 174 of file TPacketizerAdaptive.cxx.

References fProcessed.

void TPacketizerAdaptive::TFileNode::DecreaseProcessed ( Long64_t  nEvents  )  [inline]

Definition at line 175 of file TPacketizerAdaptive.cxx.

References fProcessed.

Referenced by TPacketizerAdaptive::ReassignPacket().

Long64_t TPacketizerAdaptive::TFileNode::GetEventsLeftPerSlave (  )  const [inline]

Definition at line 178 of file TPacketizerAdaptive.cxx.

References fEvents, fProcessed, and fRunSlaveCnt.

Referenced by TPacketizerAdaptive::TSlaveStat::GetLocalEventsLeft(), and TPacketizerAdaptive::GetNextPacket().

void TPacketizerAdaptive::TFileNode::IncEvents ( Long64_t  nEvents  )  [inline]

Definition at line 180 of file TPacketizerAdaptive.cxx.

References fEvents.

const char* TPacketizerAdaptive::TFileNode::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 181 of file TPacketizerAdaptive.cxx.

References TString::Data(), and fNodeName.

Referenced by TPacketizerAdaptive::GetNextPacket(), TPacketizerAdaptive::GetNextUnAlloc(), and TPacketizerAdaptive::Reset().

Long64_t TPacketizerAdaptive::TFileNode::GetNEvents ( void   )  const [inline]

Definition at line 182 of file TPacketizerAdaptive.cxx.

References fEvents.

void TPacketizerAdaptive::TFileNode::Print ( Option_t = 0  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 184 of file TPacketizerAdaptive.cxx.

References TString::Data(), fActFiles, fEvents, fExtSlaveCnt, fFiles, fMySlaveCnt, fNodeName, fProcessed, fRunSlaveCnt, TPacketizerAdaptive::TFileStat::GetElement(), TDSetElement::GetFirst(), TNamed::GetName(), TPacketizerAdaptive::TFileStat::GetNextEntry(), TDSetElement::GetNum(), TCollection::GetSize(), and Printf().

void TPacketizerAdaptive::TFileNode::Add ( TDSetElement elem,
Bool_t  tolist 
) [inline]

Definition at line 220 of file TPacketizerAdaptive.cxx.

References TList::Add(), fFiles, fFilesToProcess, TList::First(), and fUnAllocFileNext.

Referenced by TPacketizerAdaptive::ReassignPacket().

TFileStat* TPacketizerAdaptive::TFileNode::GetNextUnAlloc (  )  [inline]

Definition at line 228 of file TPacketizerAdaptive.cxx.

References TList::Add(), TList::After(), fActFileNext, fActFiles, fFiles, TList::First(), and fUnAllocFileNext.

Referenced by TPacketizerAdaptive::GetNextPacket(), and TPacketizerAdaptive::GetNextUnAlloc().

TFileStat* TPacketizerAdaptive::TFileNode::GetNextActive (  )  [inline]

Definition at line 243 of file TPacketizerAdaptive.cxx.

References TList::After(), fActFileNext, fActFiles, and TList::First().

Referenced by TPacketizerAdaptive::GetNextActive(), and TPacketizerAdaptive::GetNextPacket().

void TPacketizerAdaptive::TFileNode::RemoveActive ( TFileStat file  )  [inline]

Definition at line 255 of file TPacketizerAdaptive.cxx.

References TList::After(), fActFileNext, fActFiles, fFilesToProcess, TList::First(), and TList::Remove().

Referenced by TPacketizerAdaptive::RemoveActive().

Int_t TPacketizerAdaptive::TFileNode::Compare ( const TObject other  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 263 of file TPacketizerAdaptive.cxx.

References TObject::Error(), fEvents, fProcessed, fStrategy, GetRunSlaveCnt(), and GetSlaveCnt().

void TPacketizerAdaptive::TFileNode::Reset ( void   )  [inline]

Definition at line 309 of file TPacketizerAdaptive.cxx.

References TList::Clear(), fActFileNext, fActFiles, fExtSlaveCnt, fFiles, TList::First(), fMySlaveCnt, fRunSlaveCnt, and fUnAllocFileNext.

Referenced by TPacketizerAdaptive::Reset().


Member Data Documentation

TString TPacketizerAdaptive::TFileNode::fNodeName [private]

Definition at line 138 of file TPacketizerAdaptive.cxx.

Referenced by DecExtSlaveCnt(), GetName(), IncExtSlaveCnt(), and Print().

TList* TPacketizerAdaptive::TFileNode::fFiles [private]

Definition at line 139 of file TPacketizerAdaptive.cxx.

Referenced by Add(), GetNextUnAlloc(), GetNumberOfFiles(), Print(), Reset(), TFileNode(), and ~TFileNode().

TObject* TPacketizerAdaptive::TFileNode::fUnAllocFileNext [private]

Definition at line 140 of file TPacketizerAdaptive.cxx.

Referenced by Add(), GetNextUnAlloc(), and Reset().

TList* TPacketizerAdaptive::TFileNode::fActFiles [private]

Definition at line 141 of file TPacketizerAdaptive.cxx.

Referenced by GetNextActive(), GetNextUnAlloc(), GetNumberOfActiveFiles(), Print(), RemoveActive(), Reset(), TFileNode(), and ~TFileNode().

TObject* TPacketizerAdaptive::TFileNode::fActFileNext [private]

Definition at line 142 of file TPacketizerAdaptive.cxx.

Referenced by GetNextActive(), GetNextUnAlloc(), RemoveActive(), and Reset().

Int_t TPacketizerAdaptive::TFileNode::fMySlaveCnt [private]

Definition at line 143 of file TPacketizerAdaptive.cxx.

Referenced by GetMySlaveCnt(), GetSlaveCnt(), IncMySlaveCnt(), Print(), and Reset().

Int_t TPacketizerAdaptive::TFileNode::fExtSlaveCnt [private]

Definition at line 145 of file TPacketizerAdaptive.cxx.

Referenced by DecExtSlaveCnt(), GetExtSlaveCnt(), GetSlaveCnt(), IncExtSlaveCnt(), Print(), and Reset().

Int_t TPacketizerAdaptive::TFileNode::fRunSlaveCnt [private]

Definition at line 147 of file TPacketizerAdaptive.cxx.

Referenced by DecRunSlaveCnt(), GetEventsLeftPerSlave(), GetRunSlaveCnt(), IncRunSlaveCnt(), Print(), and Reset().

Long64_t TPacketizerAdaptive::TFileNode::fProcessed [private]

Definition at line 149 of file TPacketizerAdaptive.cxx.

Referenced by Compare(), DecreaseProcessed(), GetEventsLeftPerSlave(), GetProcessed(), IncProcessed(), and Print().

Long64_t TPacketizerAdaptive::TFileNode::fEvents [private]

Definition at line 150 of file TPacketizerAdaptive.cxx.

Referenced by Compare(), GetEventsLeftPerSlave(), GetNEvents(), IncEvents(), and Print().

Int_t TPacketizerAdaptive::TFileNode::fStrategy [private]

Definition at line 152 of file TPacketizerAdaptive.cxx.

Referenced by Compare().

TSortedList* TPacketizerAdaptive::TFileNode::fFilesToProcess [private]

Definition at line 154 of file TPacketizerAdaptive.cxx.

Referenced by Add(), and RemoveActive().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:43:40 2011 for ROOT_528-00b_version by  doxygen 1.5.1