BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrSwitchContainer


class description - source file - inheritance tree

class BrSwitchContainer : public BrModuleContainer


    public:
BrSwitchContainer BrSwitchContainer() BrSwitchContainer BrSwitchContainer(const Char_t* name, const Char_t* title) BrSwitchContainer BrSwitchContainer(BrSwitchContainer&) virtual void ~BrSwitchContainer() static TClass* Class() virtual void Event(BrEventNode* inNode, BrEventNode* outNode) virtual TClass* IsA() const virtual void Print(Option_t* option = "B") const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

 Switch the output node passed to this container to be both output
 and input node of the contained modules.

  THis container is designed to deal with the problem of the
  "swiching nodes".  See what happens is that we have to event nodes
  parallely passed down to all modules, like

         inNode       outNode
           |            |
             V            V
        +-----------------------+
        |    BrTileRdoModule    |
        +-----------------------+
             |            |
             V            V
          inNode       outNode
             |     (with BrMultRdo)
             |            |
             V            V
        +-----------------------+
        |   BrMultCentModule    | ====> Chokes. Can't find BrMultRdo
        +-----------------------+       in inNode
             |            |
           inNode      outNode
             V            V
        +-----------------------+
        |     Ohter Modules     |
        +-----------------------+

 So what'd you'd like is for BrMultCentModule to recive the outNode
 of BrTileRdoModule as _both_ it's input and it's output.  That is:

BrSwitchContainer()
 Default constructor. DO NOT USE

BrSwitchContainer(const Char_t* name, const Char_t* title) : BrModuleContainer(name, title)
 Named Constructor

void Event(BrEventNode* inNode, BrEventNode* outNode)
 Per event method

void Print(Option_t* option) const
 Print module information
 See BrModule::Print for options.
 In addition this module defines the Option:
 <fill in here>



Inline Functions


                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
        BrSwitchContainer BrSwitchContainer(BrSwitchContainer&)
                     void ~BrSwitchContainer()

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2001/06/22 17:50:41 $ by cholm $

Validate HTML
Validate CSS