BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrCopyModule


class description - source file - inheritance tree

class BrCopyModule : public BrModule


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

Data Members

    private:
TObjArray* fObjectNames

Class Description

 BrCopyModule

 This module makes it possible to copy BrDataObjects from one event
 node to another in a script runned by bratmain.

 BrDataObjects (or objects of classes that inherits from
 BrDataObject) with names specified in the fObjectNames array will
 be copied (from inNode to outNode) when the event method of
 BrCopyModule is called. The names of the object that should be
 copied can be set by the AddObject and RemoveObject methods.

 If the name of an event node is specified all the objects it
 contains will be copied.

 If an name of an object that is contained by an event node is
 specified only the object will be copied -- the above data
 structure is not kept in the output node. (an option that tells if
 the data structure should be kept or not could perhaps be added
 later!)


BrCopyModule()
 Default constructor. DO NOT USE

BrCopyModule(const Char_t* name, const Char_t* title) : BrModule(name, title)
 Named Constructor

void AddObject(const Char_t* name)
 add name to list of names of object to be copied

void RemoveObject(const Char_t* name)
 remove name to list of names of object to be copied

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)
        BrCopyModule BrCopyModule(BrCopyModule&)
                void ~BrCopyModule()

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2001/07/19 11:48:11 $ by ekman $

Validate HTML
Validate CSS