|
Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
|
Low-level interface for event categories. More...
#include <JEvtCategory.hh>
Public Types | |
| typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
| JEvtCategory () | |
| Default constructor. | |
| JEvtCategory (const int primaryType) | |
| Constructor. | |
| virtual | ~JEvtCategory () |
| Virtual destructor. | |
| virtual bool | is_valid () const =0 |
| Check if event category is valid. | |
| void | check_validity () const |
| Check validity. | |
| virtual bool | match (const JHead &header) const =0 |
| Check whether given MC header matches with this event category. | |
| virtual bool | match (const Evt &event) const =0 |
| Check whether given event matches with this event category. | |
| virtual bool | less (const JEvtCategory &category) const |
| Less-than method. | |
| int | getPrimaryType () const |
| Get primary PDG type of this event category. | |
| virtual JProperties | getProperties (const JEquationParameters &eqpars=JEvtCategory::getEquationParameters()) |
| Get properties of this class. | |
| virtual JProperties | getProperties (const JEquationParameters &eqpars=JEvtCategory::getEquationParameters()) const |
| Get properties of this class. | |
| virtual std::istream & | read (std::istream &in) |
| Read event category from input. | |
| virtual std::ostream & | write (std::ostream &out) const |
| Write event category to output. | |
| virtual clone_type | clone () const override |
| Get clone of this object. | |
Static Public Member Functions | |
| static JEquationParameters & | getEquationParameters () |
| Get equation parameters. | |
| static void | setEquationParameters (const JEquationParameters &eqpars) |
| Set equation parameters. | |
Protected Attributes | |
| int | primaryType |
| Event primary PDG type. | |
Friends | |
| std::istream & | operator>> (std::istream &in, JEvtCategory &object) |
| Read event category from input. | |
| std::ostream & | operator<< (std::ostream &out, const JEvtCategory &object) |
| Write event category to output. | |
Low-level interface for event categories.
Definition at line 35 of file JEvtCategory.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 42 of file JEvtCategory.hh.
|
inlinevirtual |
Check if event category is valid.
|
inline |
Check validity.
Definition at line 75 of file JEvtCategory.hh.
Check whether given MC header matches with this event category.
| header | MC header |
Check whether given event matches with this event category.
| event | event |
|
inlinevirtual |
Less-than method.
| category | event category |
Definition at line 109 of file JEvtCategory.hh.
|
inline |
Get primary PDG type of this event category.
Definition at line 120 of file JEvtCategory.hh.
|
inlinestatic |
Get equation parameters.
Definition at line 131 of file JEvtCategory.hh.
|
inlinestatic |
Set equation parameters.
| eqpars | equation parameters |
Definition at line 144 of file JEvtCategory.hh.
|
inlinevirtual |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 155 of file JEvtCategory.hh.
|
inlinevirtual |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 170 of file JEvtCategory.hh.
|
inlinevirtual |
Read event category from input.
| in | input stream |
Definition at line 186 of file JEvtCategory.hh.
|
inlinevirtual |
Write event category to output.
| out | output stream |
Definition at line 213 of file JEvtCategory.hh.
|
inlineoverridevirtualinherited |
Get clone of this object.
Reimplemented in JLANG::JClonable< JMatch< hit_type > >, JLANG::JClonable< JMatch< hit_type >, JMatch1D >, JLANG::JClonable< JMatch< hit_type >, JMatch3D >, JLANG::JClonable< JMatch< JTRIGGER::JHitR1 > >, JLANG::JClonable< JMatch< JTRIGGER::JHitR1 >, JMatch3G< JTRIGGER::JHitR1 > >, JPHYSICS::JPDFTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 5, JArgument_t >, and JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer.
Definition at line 69 of file JClonable.hh.
|
friend |
Read event category from input.
| in | input stream |
| object | event category |
Definition at line 226 of file JEvtCategory.hh.
|
friend |
Write event category to output.
| out | output stream |
| object | event category |
Definition at line 239 of file JEvtCategory.hh.
|
protected |
Event primary PDG type.
Definition at line 247 of file JEvtCategory.hh.