Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

selectionManager Class Reference

stores, servers and applies the system and user defined cuts. More...

#include <selectionManager.h>

Inheritance diagram for selectionManager:

serviceI messageVI optionVI nameVI nameVI List of all members.

Public Methods

 selectionManager ()
 default constructor - constructs the cutUserServer.

 ~selectionManager ()
 destructor. More...

bool apply (std::string name)
 apply the named cutVI.

void addCut (std::string name, cutVI* cut)
 add a cut into the server.

cutVIgetCut (std::string name) const
 returns a named cutVI.

cutCompositegetCutComposite (std::string name) const
 returns a named cutComposite.

virtual void writeOut () const
 info of the manager.


Static Public Methods

selectionManager* instance ()
 Singleton: returns the Manager.


Protected Methods

cutSelectiongetSelection (std::string name) const
 return the selectionServer.

virtual void defineOption ()
 define the options optionVI.

virtual void setOption (std::string selectionName, std::string cutName)
 the User define the selections (cutComposite) via optionVI.


Private Attributes

serverVI<cutVI>* m_serverCut
 Pointer to the user defined cut in the Server.

serverVI<cutSelection>* m_serverSelection
 Pointer to the selections in the Server.

cutSelectionm_selRead
 Read event cutSelection pointer.

cutSelectionm_selAna
 Analysis cutSelection pointer.

std::string m_selName
 dummy string for the options.


Static Private Attributes

selectionManager* m_instance = 0
 Singleton: pointer to the class.


Detailed Description

stores, servers and applies the system and user defined cuts.

selectionManager stores the system and user defined cuts.
selectionManager returns the cuts and cutComposite via the getCut() method and getCutComposite() methods
selectionManager applies a cut via its apply() method.
General features:

Centella features:

Definition at line 56 of file selectionManager.h.


Constructor & Destructor Documentation

selectionManager::selectionManager ( )

default constructor - constructs the cutUserServer.

Definition at line 12 of file selectionManager.cpp.

selectionManager::~selectionManager ( )

destructor.

userCuts add the User cuts into ther server

Definition at line 42 of file selectionManager.cpp.


Member Function Documentation

void selectionManager::addCut ( std::string name,
cutVI * cut ) [inline]

add a cut into the server.

Definition at line 74 of file selectionManager.h.

bool selectionManager::apply ( std::string name ) [inline]

apply the named cutVI.

Definition at line 71 of file selectionManager.h.

void selectionManager::defineOption ( ) [inline, protected, virtual]

define the options optionVI.

Reimplemented from optionVI.

Definition at line 86 of file selectionManager.cpp.

cutVI * selectionManager::getCut ( std::string name ) const

returns a named cutVI.

Definition at line 49 of file selectionManager.cpp.

cutComposite * selectionManager::getCutComposite ( std::string name ) const

returns a named cutComposite.

Definition at line 58 of file selectionManager.cpp.

cutSelection * selectionManager::getSelection ( std::string name ) const [protected]

return the selectionServer.

Definition at line 66 of file selectionManager.cpp.

selectionManager * selectionManager::instance ( ) [inline, static]

Singleton: returns the Manager.

Definition at line 68 of file selectionManager.h.

void selectionManager::setOption ( std::string selectionName,
std::string cutName ) [inline, protected, virtual]

the User define the selections (cutComposite) via optionVI.

Reimplemented from optionVI.

Definition at line 74 of file selectionManager.cpp.

void selectionManager::writeOut ( ) const [inline, virtual]

info of the manager.

Reimplemented from messageVI.

Definition at line 92 of file selectionManager.cpp.


Member Data Documentation

selectionManager * selectionManager::m_instance = 0 [static, private]

Singleton: pointer to the class.

Definition at line 99 of file selectionManager.h.

cutSelection * selectionManager::m_selAna [private]

Analysis cutSelection pointer.

Definition at line 112 of file selectionManager.h.

std::string selectionManager::m_selName [private]

dummy string for the options.

Definition at line 115 of file selectionManager.h.

cutSelection * selectionManager::m_selRead [private]

Read event cutSelection pointer.

Definition at line 110 of file selectionManager.h.

serverVI<cutVI>* selectionManager::m_serverCut [private]

Pointer to the user defined cut in the Server.

Definition at line 102 of file selectionManager.h.

serverVI<cutSelection>* selectionManager::m_serverSelection [private]

Pointer to the selections in the Server.

Definition at line 105 of file selectionManager.h.


The documentation for this class was generated from the following files:
Generated at Thu Jun 22 16:53:30 2000 for Centella Framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000