| 
    Jpp 20.0.0-rc.3
    
   the software that should make you happy 
   | 
 
Class for neutrino interaction categories. More...
#include <JNeutrinoInteractionCategory.hh>
  
Classes | |
| struct | JNeutrinoInteractionCategoryHelper | 
| Auxiliary class for I/O of neutrino interaction category.  More... | |
Public Types | |
| typedef JTOOLS::JRange< double > | JRange_t | 
| typedef JClonable< JClonable_t >::clone_type | clone_type | 
Public Member Functions | |
| JNeutrinoInteractionCategory () | |
| Default constructor.   | |
| JNeutrinoInteractionCategory (const int neutrinoType) | |
| Constructor.   | |
| JNeutrinoInteractionCategory (const int neutrinoType, const JRange_t &Erange, const JRange_t &coszRange) | |
| Constructor.   | |
| JNeutrinoInteractionCategory (const int neutrinoType, const JInteractionTypeGENIE_t interactionType, const JScatteringTypeGENIE_t scatteringType, const int targetZ, const int targetA, const JRange_t &Erange, const JRange_t &coszRange) | |
| Constructor.   | |
| JNeutrinoInteractionCategory (const JHead &header, const int primaryType) | |
| Constructor.   | |
| JNeutrinoInteractionCategory (const JHead &header) | |
| Constructor.   | |
| bool | is_valid () const override final | 
| Check if neutrino interaction categories is valid.   | |
| bool | match (const JHead &header) const override final | 
| Check whether this event category matches with the given MC header.   | |
| bool | match (const Evt &event) const override final | 
| Check whether given event matches with this event category.   | |
| bool | less (const JEvtCategory &category) const override final | 
| Less-than method.   | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtCategory::getEquationParameters()) override final | 
| Get properties of this class.   | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtCategory::getEquationParameters()) const override final | 
| Get properties of this class.   | |
| virtual clone_type | clone () const override | 
| Get clone of this object.   | |
Private Attributes | |
| JParameter< int > | interactionType | 
| interaction type   | |
| JParameter< int > | scatteringType | 
| scattering type   | |
| JParameter< int > | targetZ | 
| target atomic number   | |
| JParameter< int > | targetA | 
| target mass number   | |
| JRange_t | Erange | 
| neutrino energy range   | |
| JRange_t | coszRange | 
| cosine zenith range   | |
Class for neutrino interaction categories.
Definition at line 134 of file JNeutrinoInteractionCategory.hh.
Definition at line 137 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inherited | 
Definition at line 61 of file JClonable.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 143 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inline | 
Constructor.
| neutrinoType | neutrino PDG type | 
Definition at line 158 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inline | 
Constructor.
| neutrinoType | neutrino PDG type | 
| Erange | neutrino energy range | 
| coszRange | zenith-angle range | 
Definition at line 179 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inline | 
Constructor.
| neutrinoType | neutrino PDG type | 
| interactionType | interaction type | 
| scatteringType | scattering type | 
| targetZ | target atomic number | 
| targetA | target mass number | 
| Erange | neutrino energy range | 
| coszRange | zenith-angle range | 
Definition at line 206 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inline | 
Constructor.
| header | MC header | 
| primaryType | primary PDG type | 
Definition at line 232 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inline | 
Constructor.
N.B.: In this method, the neutrino PDG type is taken from JAANET::JHead::primary::type.
| header | MC header | 
Definition at line 284 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inlinefinaloverride | 
Check if neutrino interaction categories is valid.
Definition at line 294 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inlinefinaloverride | 
Check whether this event category matches with the given MC header.
| header | header | 
Definition at line 333 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inlinefinaloverride | 
Check whether given event matches with this event category.
| event | event | 
Definition at line 360 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inlinefinaloverride | 
Less-than method.
Note: The energy and cosine zenith-angle ranges are compared based on the lower limit first.
 If the lower limits are equal, the upper limits are compared.
| category | event category | 
Definition at line 406 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inlinefinaloverride | 
Get properties of this class.
| eqpars | equation parameters | 
Definition at line 440 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inlinefinaloverride | 
Get properties of this class.
| eqpars | equation parameters | 
Definition at line 451 of file JNeutrinoInteractionCategory.hh.
      
  | 
  inlineoverridevirtualinherited | 
Get clone of this object.
Reimplemented in JPHYSICS::JPD0Transformer_t< JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer_t< JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, and JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer.
Definition at line 69 of file JClonable.hh.
      
  | 
  private | 
interaction type
Definition at line 459 of file JNeutrinoInteractionCategory.hh.
      
  | 
  private | 
scattering type
Definition at line 460 of file JNeutrinoInteractionCategory.hh.
      
  | 
  private | 
target atomic number
Definition at line 461 of file JNeutrinoInteractionCategory.hh.
      
  | 
  private | 
target mass number
Definition at line 462 of file JNeutrinoInteractionCategory.hh.
      
  | 
  private | 
neutrino energy range
Definition at line 463 of file JNeutrinoInteractionCategory.hh.
      
  | 
  private | 
cosine zenith range
Definition at line 464 of file JNeutrinoInteractionCategory.hh.