Public Types | |
template<typename T > | |
using | ShowerData_t = std::vector< T > |
template<typename T > | |
using | ShowerPlaneData_t = std::vector< BoxedArray< T[kNplanes]>> |
template<typename T > | |
using | ShowerHitData_t = std::vector< BoxedArray< T[kNplanes][kMaxShowerHits]>> |
template<typename T > | |
using | ShowerHitCoordData_t = std::vector< BoxedArray< T[kNplanes][kMaxShowerHits][3]>> |
Public Member Functions | |
ShowerDataStruct (std::string new_name="", size_t maxShowers=0) | |
Creates a shower data structure allowing up to maxShowers showers. More... | |
std::string | Name () const |
void | Clear () |
void | MarkMissing (TTree *pTree) |
Applies a special prescription to mark shower information as missing. More... | |
void | SetName (std::string new_name) |
void | SetMaxShowers (size_t maxShowers) |
void | Resize (size_t nShowers) |
void | SetAddresses (TTree *pTree) |
size_t | GetMaxShowers () const |
size_t | GetMaxPlanesPerShower (int=0) const |
size_t | GetMaxHitsPerShower (int=0, int=0) const |
Public Attributes | |
std::string | name |
name of the shower algorithm (for branch names) More... | |
size_t | MaxShowers |
maximum number of storable showers More... | |
Branch data structures | |
Short_t | nshowers |
number of showers More... | |
ShowerData_t< Short_t > | showerID |
Shower ID. More... | |
ShowerData_t< Short_t > | shwr_bestplane |
Shower best plane. More... | |
ShowerData_t< Float_t > | shwr_length |
Shower length. More... | |
ShowerData_t< Float_t > | shwr_startdcosx |
X directional cosine at start of shower. More... | |
ShowerData_t< Float_t > | shwr_startdcosy |
Y directional cosine at start of shower. More... | |
ShowerData_t< Float_t > | shwr_startdcosz |
Z directional cosine at start of shower. More... | |
ShowerData_t< Float_t > | shwr_startx |
startx of shower More... | |
ShowerData_t< Float_t > | shwr_starty |
starty of shower More... | |
ShowerData_t< Float_t > | shwr_startz |
startz of shower More... | |
ShowerPlaneData_t< Float_t > | shwr_totEng |
Total energy of the shower per plane. More... | |
ShowerPlaneData_t< Float_t > | shwr_dedx |
dE/dx of the shower per plane More... | |
ShowerPlaneData_t< Float_t > | shwr_mipEng |
Total MIP energy of the shower per plane. More... | |
ShowerData_t< Float_t > | shwr_pidmvamu |
ShowerData_t< Float_t > | shwr_pidmvae |
ShowerData_t< Float_t > | shwr_pidmvapich |
ShowerData_t< Float_t > | shwr_pidmvaphoton |
ShowerData_t< Float_t > | shwr_pidmvapr |
ShowerData_t< Short_t > | shwr_hasPFParticle |
ShowerData_t< Short_t > | shwr_PFParticleID |
Shower algorithm result
Can connect to a tree, clear its fields and resize its data.
Definition at line 358 of file AnaRootParser_module.cc.
using dune::AnaRootParserDataStruct::ShowerDataStruct::ShowerData_t = std::vector<T> |
Definition at line 369 of file AnaRootParser_module.cc.
using dune::AnaRootParserDataStruct::ShowerDataStruct::ShowerHitCoordData_t = std::vector<BoxedArray<T[kNplanes][kMaxShowerHits][3]>> |
Definition at line 375 of file AnaRootParser_module.cc.
using dune::AnaRootParserDataStruct::ShowerDataStruct::ShowerHitData_t = std::vector<BoxedArray<T[kNplanes][kMaxShowerHits]>> |
Definition at line 373 of file AnaRootParser_module.cc.
using dune::AnaRootParserDataStruct::ShowerDataStruct::ShowerPlaneData_t = std::vector<BoxedArray<T[kNplanes]>> |
Definition at line 371 of file AnaRootParser_module.cc.
|
inline |
Creates a shower data structure allowing up to maxShowers showers.
Definition at line 409 of file AnaRootParser_module.cc.
void dune::AnaRootParserDataStruct::ShowerDataStruct::Clear | ( | ) |
Definition at line 2502 of file AnaRootParser_module.cc.
|
inline |
Definition at line 427 of file AnaRootParser_module.cc.
|
inline |
Definition at line 425 of file AnaRootParser_module.cc.
|
inline |
Definition at line 424 of file AnaRootParser_module.cc.
void dune::AnaRootParserDataStruct::ShowerDataStruct::MarkMissing | ( | TTree * | pTree | ) |
Applies a special prescription to mark shower information as missing.
Definition at line 2536 of file AnaRootParser_module.cc.
|
inline |
Definition at line 412 of file AnaRootParser_module.cc.
void dune::AnaRootParserDataStruct::ShowerDataStruct::Resize | ( | size_t | nShowers | ) |
Definition at line 2475 of file AnaRootParser_module.cc.
void dune::AnaRootParserDataStruct::ShowerDataStruct::SetAddresses | ( | TTree * | pTree | ) |
Definition at line 2563 of file AnaRootParser_module.cc.
|
inline |
Definition at line 419 of file AnaRootParser_module.cc.
|
inline |
Definition at line 418 of file AnaRootParser_module.cc.
size_t dune::AnaRootParserDataStruct::ShowerDataStruct::MaxShowers |
maximum number of storable showers
Definition at line 379 of file AnaRootParser_module.cc.
std::string dune::AnaRootParserDataStruct::ShowerDataStruct::name |
name of the shower algorithm (for branch names)
Definition at line 377 of file AnaRootParser_module.cc.
Short_t dune::AnaRootParserDataStruct::ShowerDataStruct::nshowers |
number of showers
Definition at line 383 of file AnaRootParser_module.cc.
ShowerData_t<Short_t> dune::AnaRootParserDataStruct::ShowerDataStruct::showerID |
Shower ID.
Definition at line 384 of file AnaRootParser_module.cc.
ShowerData_t<Short_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_bestplane |
Shower best plane.
Definition at line 385 of file AnaRootParser_module.cc.
ShowerPlaneData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_dedx |
dE/dx of the shower per plane
Definition at line 394 of file AnaRootParser_module.cc.
ShowerData_t<Short_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_hasPFParticle |
Definition at line 404 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_length |
Shower length.
Definition at line 386 of file AnaRootParser_module.cc.
ShowerPlaneData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_mipEng |
Total MIP energy of the shower per plane.
Definition at line 395 of file AnaRootParser_module.cc.
ShowerData_t<Short_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_PFParticleID |
Definition at line 405 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_pidmvae |
Definition at line 398 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_pidmvamu |
Definition at line 397 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_pidmvaphoton |
Definition at line 400 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_pidmvapich |
Definition at line 399 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_pidmvapr |
Definition at line 401 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_startdcosx |
X directional cosine at start of shower.
Definition at line 387 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_startdcosy |
Y directional cosine at start of shower.
Definition at line 388 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_startdcosz |
Z directional cosine at start of shower.
Definition at line 389 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_startx |
startx of shower
Definition at line 390 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_starty |
starty of shower
Definition at line 391 of file AnaRootParser_module.cc.
ShowerData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_startz |
startz of shower
Definition at line 392 of file AnaRootParser_module.cc.
ShowerPlaneData_t<Float_t> dune::AnaRootParserDataStruct::ShowerDataStruct::shwr_totEng |
Total energy of the shower per plane.
Definition at line 393 of file AnaRootParser_module.cc.