Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
reco::shower::ShowerElementHolder Class Reference

#include "ShowerElementHolder.hh"

Public Member Functions

template<class T >
int GetElement (const std::string &Name, T &Element) const
 
template<class T >
int GetEventElement (const std::string &Name, T &Element) const
 
template<class T >
const T & GetEventElement (std::string const &Name)
 
template<class T >
GetElement (const std::string &Name) const
 
template<class T , class T2 >
int GetElementAndError (const std::string &Name, T &Element, T2 &ElementErr) const
 
template<class T >
void SetElement (T &dataproduct, const std::string &Name, bool checktag=false)
 
template<class T , class T2 >
void SetElement (T &propertyval, T2 &propertyvalerror, const std::string &Name)
 
template<class T >
void SetEventElement (T &dataproduct, const std::string &Name)
 
bool CheckEventElement (const std::string &Name) const
 
bool CheckElement (const std::string &Name) const
 
bool CheckAllElements () const
 
void ClearElement (const std::string &Name)
 
void ClearShower ()
 
void ClearEvent ()
 
void ClearAll ()
 
bool CheckElementTag (const std::string &Name) const
 
void DeleteElement (const std::string &Name)
 
void SetElementTag (const std::string &Name, bool checkelement)
 
bool CheckAllElementTags () const
 
void SetShowerNumber (int &shower_iter)
 
int GetShowerNumber () const
 
void PrintElements () const
 
template<class T >
std::string getType (T object) const
 
template<class T >
std::string getType () const
 
template<class T1 , class T2 >
const art::FindManyP< T1 > & GetFindManyP (const art::ValidHandle< std::vector< T2 > > &handle, const art::Event &evt, const art::InputTag &moduleTag)
 
template<class T1 , class T2 >
const art::FindOneP< T1 > & GetFindOneP (const art::ValidHandle< std::vector< T2 > > &handle, const art::Event &evt, const art::InputTag &moduleTag)
 

Private Attributes

std::map< std::string, std::unique_ptr< reco::shower::ShowerElementBase > > showerproperties
 
std::map< std::string, std::unique_ptr< reco::shower::ShowerElementBase > > showerdataproducts
 
std::map< std::string, std::unique_ptr< reco::shower::ShowerElementBase > > eventdataproducts
 
int showernumber
 

Detailed Description

Definition at line 214 of file ShowerElementHolder.hh.

Member Function Documentation

◆ CheckAllElements()

bool reco::shower::ShowerElementHolder::CheckAllElements ( ) const
inline

Definition at line 488 of file ShowerElementHolder.hh.

◆ CheckAllElementTags()

bool reco::shower::ShowerElementHolder::CheckAllElementTags ( ) const
inline

Definition at line 581 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

◆ CheckElement()

bool reco::shower::ShowerElementHolder::CheckElement ( const std::string &  Name) const
inline

Definition at line 470 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

◆ CheckElementTag()

bool reco::shower::ShowerElementHolder::CheckElementTag ( const std::string &  Name) const
inline

Definition at line 542 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

◆ CheckEventElement()

bool reco::shower::ShowerElementHolder::CheckEventElement ( const std::string &  Name) const
inline

Definition at line 461 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

◆ ClearAll()

void reco::shower::ShowerElementHolder::ClearAll ( )
inline

Definition at line 535 of file ShowerElementHolder.hh.

Here is the call graph for this function:

◆ ClearElement()

void reco::shower::ShowerElementHolder::ClearElement ( const std::string &  Name)
inline

Definition at line 501 of file ShowerElementHolder.hh.

◆ ClearEvent()

void reco::shower::ShowerElementHolder::ClearEvent ( )
inline

Definition at line 528 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

◆ ClearShower()

void reco::shower::ShowerElementHolder::ClearShower ( )
inline

Definition at line 518 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

◆ DeleteElement()

void reco::shower::ShowerElementHolder::DeleteElement ( const std::string &  Name)
inline

Definition at line 552 of file ShowerElementHolder.hh.

◆ GetElement() [1/2]

template<class T >
T reco::shower::ShowerElementHolder::GetElement ( const std::string &  Name) const
inline

Definition at line 336 of file ShowerElementHolder.hh.

Here is the call graph for this function:

◆ GetElement() [2/2]

template<class T >
int reco::shower::ShowerElementHolder::GetElement ( const std::string &  Name,
T &  Element 
) const
inline

Definition at line 219 of file ShowerElementHolder.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetElementAndError()

template<class T , class T2 >
int reco::shower::ShowerElementHolder::GetElementAndError ( const std::string &  Name,
T &  Element,
T2 &  ElementErr 
) const
inline

Definition at line 386 of file ShowerElementHolder.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetEventElement() [1/2]

template<class T >
int reco::shower::ShowerElementHolder::GetEventElement ( const std::string &  Name,
T &  Element 
) const
inline

Definition at line 286 of file ShowerElementHolder.hh.

Here is the call graph for this function:

◆ GetEventElement() [2/2]

template<class T >
const T & reco::shower::ShowerElementHolder::GetEventElement ( std::string const &  Name)
inline

Definition at line 314 of file ShowerElementHolder.hh.

Here is the call graph for this function:

◆ GetFindManyP()

template<class T1 , class T2 >
const art::FindManyP< T1 > & reco::shower::ShowerElementHolder::GetFindManyP ( const art::ValidHandle< std::vector< T2 > > &  handle,
const art::Event &  evt,
const art::InputTag &  moduleTag 
)
inline

Definition at line 673 of file ShowerElementHolder.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFindOneP()

template<class T1 , class T2 >
const art::FindOneP< T1 > & reco::shower::ShowerElementHolder::GetFindOneP ( const art::ValidHandle< std::vector< T2 > > &  handle,
const art::Event &  evt,
const art::InputTag &  moduleTag 
)
inline

Definition at line 695 of file ShowerElementHolder.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetShowerNumber()

int reco::shower::ShowerElementHolder::GetShowerNumber ( ) const
inline

Definition at line 603 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

◆ getType() [1/2]

template<class T >
std::string reco::shower::ShowerElementHolder::getType ( ) const
inline

Definition at line 667 of file ShowerElementHolder.hh.

◆ getType() [2/2]

template<class T >
std::string reco::shower::ShowerElementHolder::getType ( object) const
inline

Definition at line 661 of file ShowerElementHolder.hh.

◆ PrintElements()

void reco::shower::ShowerElementHolder::PrintElements ( ) const
inline

Definition at line 606 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

◆ SetElement() [1/2]

template<class T >
void reco::shower::ShowerElementHolder::SetElement ( T &  dataproduct,
const std::string &  Name,
bool  checktag = false 
)
inline

Definition at line 405 of file ShowerElementHolder.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetElement() [2/2]

template<class T , class T2 >
void reco::shower::ShowerElementHolder::SetElement ( T &  propertyval,
T2 &  propertyvalerror,
const std::string &  Name 
)
inline

Definition at line 425 of file ShowerElementHolder.hh.

Here is the call graph for this function:

◆ SetElementTag()

void reco::shower::ShowerElementHolder::SetElementTag ( const std::string &  Name,
bool  checkelement 
)
inline

Definition at line 569 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

◆ SetEventElement()

template<class T >
void reco::shower::ShowerElementHolder::SetEventElement ( T &  dataproduct,
const std::string &  Name 
)
inline

Definition at line 445 of file ShowerElementHolder.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetShowerNumber()

void reco::shower::ShowerElementHolder::SetShowerNumber ( int &  shower_iter)
inline

Definition at line 600 of file ShowerElementHolder.hh.

Here is the caller graph for this function:

Member Data Documentation

◆ eventdataproducts

std::map<std::string, std::unique_ptr<reco::shower::ShowerElementBase> > reco::shower::ShowerElementHolder::eventdataproducts
private

Definition at line 724 of file ShowerElementHolder.hh.

◆ showerdataproducts

std::map<std::string, std::unique_ptr<reco::shower::ShowerElementBase> > reco::shower::ShowerElementHolder::showerdataproducts
private

Definition at line 721 of file ShowerElementHolder.hh.

◆ showernumber

int reco::shower::ShowerElementHolder::showernumber
private

Definition at line 727 of file ShowerElementHolder.hh.

◆ showerproperties

std::map<std::string, std::unique_ptr<reco::shower::ShowerElementBase> > reco::shower::ShowerElementHolder::showerproperties
private

Definition at line 718 of file ShowerElementHolder.hh.


The documentation for this class was generated from the following file: