#include <selectionManager.h>
Inheritance diagram for selectionManager:
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. | |
cutVI* | getCut (std::string name) const |
returns a named cutVI. | |
cutComposite* | getCutComposite (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 | |
cutSelection* | getSelection (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. | |
cutSelection* | m_selRead |
Read event cutSelection pointer. | |
cutSelection* | m_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. |
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:
addCut()
. getCut()
returns the a cut (cutVI) with name nameCut from the server of the selectionManager. These cuts are either simple cuts (cutVI) or multiple cuts (cutComposite). apply()
returns the result of applying the cut. getCutComposite()
returns the cutComposite with name nameCuts. the cutComposite is a multicut that allows access to everyone of the cuts by name or index. (see cutComposite for details).getComposite(name)
method is executed the manager searchs into the private cutSelection server.
Definition at line 56 of file selectionManager.h.
|
default constructor - constructs the cutUserServer.
Definition at line 12 of file selectionManager.cpp.
|
destructor.
userCuts add the User cuts into ther server
Definition at line 42 of file selectionManager.cpp.
|
|
|
define the options optionVI.
Reimplemented from optionVI.
Definition at line 86 of file selectionManager.cpp.
|
|
|
|
|
the User define the selections (cutComposite) via optionVI.
Reimplemented from optionVI.
Definition at line 74 of file selectionManager.cpp.
|
info of the manager.
Reimplemented from messageVI.
Definition at line 92 of file selectionManager.cpp.
|
|
|
|
|
|