Jpp 19.3.0-rc.3
the software that should make you happy
|
Helper class for event categories. More...
#include <JEvtCategoryHelper.hh>
Public Types | |
typedef std::shared_ptr< JEvtCategory > | pointer_type |
Public Member Functions | |
JEvtCategoryHelper () | |
Default constructor. | |
JEvtCategoryHelper (const pointer_type &p) | |
Constructor. | |
JEvtCategoryHelper (const JEvtCategory &category) | |
Constructor. | |
JEvtCategoryHelper (const JHead &header) | |
Constructor. | |
JEvtCategoryHelper (const int type) | |
Constructor. | |
void | configure (const pointer_type &p) |
Configuration. | |
void | configure (const JEvtCategory &category) |
Configuration. | |
void | configure (const JHead &header) |
Configuration. | |
void | configure (const int type) |
Configuration. | |
JEvtCategory & | getEvtCategory () const |
Get reference to event category. | |
bool | is_valid () const |
Check if event category is valid. | |
bool | match (const JHead &header) const |
Check whether given MC header matches with this event category. | |
bool | match (const Evt &event) const |
Check whether given event matches with this event category. | |
bool | less (const JEvtCategory &category) const |
Less-than method. | |
bool | less (const JEvtCategoryHelper &helper) const |
Less-than method. | |
JProperties | getProperties (const JEquationParameters &equation=JEvtCategory::getEquationParameters()) |
Get properties of this class. | |
JProperties | getProperties (const JEquationParameters &equation=JEvtCategory::getEquationParameters()) const |
Get properties of this class. | |
Friends | |
std::istream & | operator>> (std::istream &in, JEvtCategoryHelper &object) |
Read event category from input. | |
std::ostream & | operator<< (std::ostream &out, const JEvtCategoryHelper &object) |
Write event category to output. | |
Helper class for event categories.
Definition at line 32 of file JEvtCategoryHelper.hh.
std::shared_ptr<JEvtCategory> JAANET::JEvtCategoryHelper::pointer_type |
Definition at line 36 of file JEvtCategoryHelper.hh.
|
inline |
Default constructor.
Definition at line 41 of file JEvtCategoryHelper.hh.
|
inline |
Constructor.
p | shared pointer to event category |
Definition at line 51 of file JEvtCategoryHelper.hh.
|
inline |
Constructor.
category | event category |
Definition at line 61 of file JEvtCategoryHelper.hh.
|
inline |
|
inline |
|
inline |
Configuration.
p | shared pointer to event category |
Definition at line 94 of file JEvtCategoryHelper.hh.
|
inline |
Configuration.
category | event category |
Definition at line 105 of file JEvtCategoryHelper.hh.
|
inline |
Configuration.
header | header |
Definition at line 116 of file JEvtCategoryHelper.hh.
|
inline |
Configuration.
type | PDG type |
Definition at line 135 of file JEvtCategoryHelper.hh.
|
inline |
Get reference to event category.
Definition at line 154 of file JEvtCategoryHelper.hh.
|
inline |
Check if event category is valid.
Definition at line 171 of file JEvtCategoryHelper.hh.
|
inline |
Check whether given MC header matches with this event category.
header | MC header |
Definition at line 183 of file JEvtCategoryHelper.hh.
|
inline |
Check whether given event matches with this event category.
event | event |
Definition at line 197 of file JEvtCategoryHelper.hh.
|
inline |
Less-than method.
category | event category |
Definition at line 211 of file JEvtCategoryHelper.hh.
|
inline |
Less-than method.
helper | shared pointer to event category |
Definition at line 225 of file JEvtCategoryHelper.hh.
|
inline |
Get properties of this class.
equation | equation parameters |
Definition at line 236 of file JEvtCategoryHelper.hh.
|
inline |
Get properties of this class.
equation | equation parameters |
Definition at line 247 of file JEvtCategoryHelper.hh.
|
friend |
Read event category from input.
in | input stream |
object | event category |
Definition at line 260 of file JEvtCategoryHelper.hh.
|
friend |
Write event category to output.
out | output stream |
object | event category |
Definition at line 312 of file JEvtCategoryHelper.hh.