Public Types | |
template<typename T > | |
using | ShowerData_t = std::vector< T > |
template<typename T > | |
using | PlaneData_t = std::vector< BoxedArray< T[kNplanes]>> |
template<typename T > | |
using | HitData_t = std::vector< BoxedArray< T[kNplanes][kMaxShowerHits]>> |
template<typename T > | |
using | HitCoordData_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... | |
PlaneData_t< Float_t > | shwr_totEng |
Total energy of the shower per plane. More... | |
PlaneData_t< Float_t > | shwr_dedx |
dE/dx of the shower per plane More... | |
PlaneData_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 329 of file AnalysisTree_module.cc.
using dune::AnalysisTreeDataStruct::ShowerDataStruct::HitCoordData_t = std::vector<BoxedArray<T[kNplanes][kMaxShowerHits][3]>> |
Definition at line 346 of file AnalysisTree_module.cc.
using dune::AnalysisTreeDataStruct::ShowerDataStruct::HitData_t = std::vector<BoxedArray<T[kNplanes][kMaxShowerHits]>> |
Definition at line 344 of file AnalysisTree_module.cc.
using dune::AnalysisTreeDataStruct::ShowerDataStruct::PlaneData_t = std::vector<BoxedArray<T[kNplanes]>> |
Definition at line 342 of file AnalysisTree_module.cc.
using dune::AnalysisTreeDataStruct::ShowerDataStruct::ShowerData_t = std::vector<T> |
Definition at line 340 of file AnalysisTree_module.cc.
|
inline |
Creates a shower data structure allowing up to maxShowers showers.
Definition at line 380 of file AnalysisTree_module.cc.
void dune::AnalysisTreeDataStruct::ShowerDataStruct::Clear | ( | ) |
Definition at line 2097 of file AnalysisTree_module.cc.
|
inline |
Definition at line 398 of file AnalysisTree_module.cc.
|
inline |
Definition at line 396 of file AnalysisTree_module.cc.
|
inline |
Definition at line 395 of file AnalysisTree_module.cc.
void dune::AnalysisTreeDataStruct::ShowerDataStruct::MarkMissing | ( | TTree * | pTree | ) |
Applies a special prescription to mark shower information as missing.
Definition at line 2131 of file AnalysisTree_module.cc.
|
inline |
Definition at line 383 of file AnalysisTree_module.cc.
void dune::AnalysisTreeDataStruct::ShowerDataStruct::Resize | ( | size_t | nShowers | ) |
Definition at line 2070 of file AnalysisTree_module.cc.
void dune::AnalysisTreeDataStruct::ShowerDataStruct::SetAddresses | ( | TTree * | pTree | ) |
Definition at line 2158 of file AnalysisTree_module.cc.
|
inline |
Definition at line 390 of file AnalysisTree_module.cc.
|
inline |
Definition at line 389 of file AnalysisTree_module.cc.
size_t dune::AnalysisTreeDataStruct::ShowerDataStruct::MaxShowers |
maximum number of storable showers
Definition at line 350 of file AnalysisTree_module.cc.
std::string dune::AnalysisTreeDataStruct::ShowerDataStruct::name |
name of the shower algorithm (for branch names)
Definition at line 348 of file AnalysisTree_module.cc.
Short_t dune::AnalysisTreeDataStruct::ShowerDataStruct::nshowers |
number of showers
Definition at line 354 of file AnalysisTree_module.cc.
ShowerData_t<Short_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::showerID |
Shower ID.
Definition at line 355 of file AnalysisTree_module.cc.
ShowerData_t<Short_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_bestplane |
Shower best plane.
Definition at line 356 of file AnalysisTree_module.cc.
PlaneData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_dedx |
dE/dx of the shower per plane
Definition at line 365 of file AnalysisTree_module.cc.
ShowerData_t<Short_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_hasPFParticle |
Definition at line 375 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_length |
Shower length.
Definition at line 357 of file AnalysisTree_module.cc.
PlaneData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_mipEng |
Total MIP energy of the shower per plane.
Definition at line 366 of file AnalysisTree_module.cc.
ShowerData_t<Short_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_PFParticleID |
Definition at line 376 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_pidmvae |
Definition at line 369 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_pidmvamu |
Definition at line 368 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_pidmvaphoton |
Definition at line 371 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_pidmvapich |
Definition at line 370 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_pidmvapr |
Definition at line 372 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_startdcosx |
X directional cosine at start of shower.
Definition at line 358 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_startdcosy |
Y directional cosine at start of shower.
Definition at line 359 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_startdcosz |
Z directional cosine at start of shower.
Definition at line 360 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_startx |
startx of shower
Definition at line 361 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_starty |
starty of shower
Definition at line 362 of file AnalysisTree_module.cc.
ShowerData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_startz |
startz of shower
Definition at line 363 of file AnalysisTree_module.cc.
PlaneData_t<Float_t> dune::AnalysisTreeDataStruct::ShowerDataStruct::shwr_totEng |
Total energy of the shower per plane.
Definition at line 364 of file AnalysisTree_module.cc.