#include "LArInteractionTypeHelper.h"
|
| InteractionDescriptor (const bool isCC, const bool isQE, const bool isRes, const bool isDIS, const bool isCoherent, const bool isNumu, const bool isNue, const unsigned int nPiPlus, const unsigned int nPiMinus, const unsigned int nPhotons, const unsigned int nProtons) |
| Constructor.
|
|
bool | IsCC () const |
| Whether or not the interaction is CC.
|
|
bool | IsQE () const |
| Whether or not the interaction is QE.
|
|
bool | IsResonant () const |
| Whether or not the interaction is resonant.
|
|
bool | IsDIS () const |
| Whether or not the interaction is DIS.
|
|
bool | IsCoherent () const |
| Whether or not the interaction is coherent.
|
|
bool | IsMuonNeutrino () const |
| Whether or not the interaction is muon neutrino.
|
|
bool | IsElectronNeutrino () const |
| Whether or not the interaction is electron neutrino.
|
|
unsigned int | GetNumPiZero () const |
| Retrieve the number of pi zeros.
|
|
unsigned int | GetNumPiPlus () const |
| Retrieve the number of pi plus.
|
|
unsigned int | GetNumPiMinus () const |
| Retrieve the number of pi minus.
|
|
unsigned int | GetNumPhotons () const |
| Retrieve the number of photons.
|
|
unsigned int | GetNumProtons () const |
| Retrieve the number of protons.
|
|
int | GetUniqueId () const |
| Retrieve a unique ID describing the event (that is, a given type of interaction with specific final state particles has a particular ID)
|
|
const std::string & | ToString () const |
| Retrieve the string descriptor for the event.
|
|
|
static const int | CC = 8192 |
|
static const int | NC = 4096 |
|
static const int | QE = 2560 |
|
static const int | RES = 2048 |
|
static const int | DIS = 1536 |
|
static const int | COH = 1024 |
|
static const int | OTH = 512 |
|
static const int | MU = 256 |
|
static const int | E = 128 |
|
static const int | PIZERO = 64 |
|
static const int | PIPLUS = 32 |
|
static const int | PIMINUS = 16 |
|
static const int | PHOTON = 8 |
|
static const int | NP = 6 |
|
Definition at line 331 of file LArInteractionTypeHelper.h.
◆ InteractionDescriptor()
lar_content::InteractionDescriptor::InteractionDescriptor |
( |
const bool |
isCC, |
|
|
const bool |
isQE, |
|
|
const bool |
isRes, |
|
|
const bool |
isDIS, |
|
|
const bool |
isCoherent, |
|
|
const bool |
isNumu, |
|
|
const bool |
isNue, |
|
|
const unsigned int |
nPiPlus, |
|
|
const unsigned int |
nPiMinus, |
|
|
const unsigned int |
nPhotons, |
|
|
const unsigned int |
nProtons |
|
) |
| |
Constructor.
- Parameters
-
isCC | Whether or not the interaction is a CC interaction |
isQE | Whether or not the interaction is a QE interaction |
isRes | Whether or not the interaction is a resonant interaction |
isDIS | Whether or not the interaction is a DIS interaction |
isCoherent | Whether or not the interaction is a coherent interaction |
isNumu | Whether or not the interaction is a numu interaction |
isNue | Whether or not the interaction is a nue interaction |
nPiPlus | Number of pi plus in the final state |
nPiMinus | Number of pi minus in the final state |
nPhotons | Number of photons in the final state |
nProtons | Number of protons in the final state |
Definition at line 747 of file LArInteractionTypeHelper.cc.
◆ GetNumPhotons()
unsigned int lar_content::InteractionDescriptor::GetNumPhotons |
( |
| ) |
const |
|
inline |
◆ GetNumPiMinus()
unsigned int lar_content::InteractionDescriptor::GetNumPiMinus |
( |
| ) |
const |
|
inline |
◆ GetNumPiPlus()
unsigned int lar_content::InteractionDescriptor::GetNumPiPlus |
( |
| ) |
const |
|
inline |
◆ GetNumPiZero()
unsigned int lar_content::InteractionDescriptor::GetNumPiZero |
( |
| ) |
const |
|
inline |
◆ GetNumProtons()
unsigned int lar_content::InteractionDescriptor::GetNumProtons |
( |
| ) |
const |
|
inline |
◆ GetUniqueId()
int lar_content::InteractionDescriptor::GetUniqueId |
( |
| ) |
const |
|
inline |
Retrieve a unique ID describing the event (that is, a given type of interaction with specific final state particles has a particular ID)
- Returns
- The unique identifier for the event
Definition at line 569 of file LArInteractionTypeHelper.h.
◆ IsCC()
bool lar_content::InteractionDescriptor::IsCC |
( |
| ) |
const |
|
inline |
◆ IsCoherent()
bool lar_content::InteractionDescriptor::IsCoherent |
( |
| ) |
const |
|
inline |
Whether or not the interaction is coherent.
- Returns
- Whether or not the interaction is coherent
Definition at line 513 of file LArInteractionTypeHelper.h.
◆ IsDIS()
bool lar_content::InteractionDescriptor::IsDIS |
( |
| ) |
const |
|
inline |
◆ IsElectronNeutrino()
bool lar_content::InteractionDescriptor::IsElectronNeutrino |
( |
| ) |
const |
|
inline |
Whether or not the interaction is electron neutrino.
- Returns
- Whether or not the interaction is electron neutrino
Definition at line 527 of file LArInteractionTypeHelper.h.
◆ IsMuonNeutrino()
bool lar_content::InteractionDescriptor::IsMuonNeutrino |
( |
| ) |
const |
|
inline |
Whether or not the interaction is muon neutrino.
- Returns
- Whether or not the interaction is muon neutrino
Definition at line 520 of file LArInteractionTypeHelper.h.
◆ IsQE()
bool lar_content::InteractionDescriptor::IsQE |
( |
| ) |
const |
|
inline |
◆ IsResonant()
bool lar_content::InteractionDescriptor::IsResonant |
( |
| ) |
const |
|
inline |
Whether or not the interaction is resonant.
- Returns
- Whether or not the interaction is resonant
Definition at line 499 of file LArInteractionTypeHelper.h.
◆ ToString()
const std::string & lar_content::InteractionDescriptor::ToString |
( |
| ) |
const |
|
inline |
Retrieve the string descriptor for the event.
- Returns
- The string descriptor for the event
Definition at line 576 of file LArInteractionTypeHelper.h.
◆ CC
const int lar_content::InteractionDescriptor::CC = 8192 |
|
static |
◆ COH
const int lar_content::InteractionDescriptor::COH = 1024 |
|
static |
◆ DIS
const int lar_content::InteractionDescriptor::DIS = 1536 |
|
static |
const int lar_content::InteractionDescriptor::E = 128 |
|
static |
◆ m_descriptor
std::string lar_content::InteractionDescriptor::m_descriptor |
|
private |
◆ m_id
int lar_content::InteractionDescriptor::m_id |
|
private |
◆ m_isCC
const bool lar_content::InteractionDescriptor::m_isCC |
|
private |
◆ m_isCoherent
const bool lar_content::InteractionDescriptor::m_isCoherent |
|
private |
◆ m_isDIS
const bool lar_content::InteractionDescriptor::m_isDIS |
|
private |
◆ m_isNue
const bool lar_content::InteractionDescriptor::m_isNue |
|
private |
◆ m_isNumu
const bool lar_content::InteractionDescriptor::m_isNumu |
|
private |
◆ m_isQE
const bool lar_content::InteractionDescriptor::m_isQE |
|
private |
◆ m_isResonant
const bool lar_content::InteractionDescriptor::m_isResonant |
|
private |
◆ m_nPhotons
const unsigned int lar_content::InteractionDescriptor::m_nPhotons |
|
private |
◆ m_nPiMinus
const unsigned int lar_content::InteractionDescriptor::m_nPiMinus |
|
private |
◆ m_nPiPlus
const unsigned int lar_content::InteractionDescriptor::m_nPiPlus |
|
private |
◆ m_nPiZero
const unsigned int lar_content::InteractionDescriptor::m_nPiZero |
|
private |
◆ m_nProtons
const unsigned int lar_content::InteractionDescriptor::m_nProtons |
|
private |
◆ MU
const int lar_content::InteractionDescriptor::MU = 256 |
|
static |
◆ NC
const int lar_content::InteractionDescriptor::NC = 4096 |
|
static |
◆ NP
const int lar_content::InteractionDescriptor::NP = 6 |
|
static |
◆ OTH
const int lar_content::InteractionDescriptor::OTH = 512 |
|
static |
◆ PHOTON
const int lar_content::InteractionDescriptor::PHOTON = 8 |
|
static |
◆ PIMINUS
const int lar_content::InteractionDescriptor::PIMINUS = 16 |
|
static |
◆ PIPLUS
const int lar_content::InteractionDescriptor::PIPLUS = 32 |
|
static |
◆ PIZERO
const int lar_content::InteractionDescriptor::PIZERO = 64 |
|
static |
◆ QE
const int lar_content::InteractionDescriptor::QE = 2560 |
|
static |
◆ RES
const int lar_content::InteractionDescriptor::RES = 2048 |
|
static |
The documentation for this class was generated from the following files: