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

#include "ShowerProducedPtrsHolder.hh"

Public Member Functions

template<class T >
int SetShowerUniqueProduerPtr (type< T >, const std::string &Name, const std::string &Instance="")
 
template<class T >
int SetShowerUniqueProduerPtr (type< std::vector< T > >, const std::string &Name, const std::string &Instance="")
 
bool CheckUniqueProduerPtr (const std::string &Name) const
 
void reset ()
 
void AddDataProducts (const reco::shower::ShowerElementHolder &selement_holder)
 
void MoveAllToEvent (art::Event &evt)
 
bool CheckAllProducedElements (reco::shower::ShowerElementHolder &selement_holder) const
 
template<class T >
T & GetPtr (const std::string &Name)
 
template<class T , class A , class B >
void AddSingle (A &a, B &b, const std::string &Name)
 
void SetPtrMakers (art::Event &evt)
 
template<class T >
art::PtrMaker< T > & GetPtrMaker (const std::string &Name)
 
template<class T >
art::Ptr< T > GetArtPtr (const std::string &Name, const int &iter) const
 
void ResetPtrMakers ()
 
int GetVectorPtrSize (const std::string &Name) const
 
void PrintPtr (const std::string &Name) const
 
void PrintPtrs () const
 

Private Member Functions

template<class T >
bool CheckForMultipleTypes (type< T >, const std::string &Name, const std::string &Instance) const
 
template<class T >
bool CheckForMultipleTypes (type< std::vector< T > >, const std::string &Name, const std::string &Instance) const
 

Private Attributes

std::map< std::string, std::unique_ptr< reco::shower::ShowerUniqueProduerPtrBase > > showerproductPtrs
 
std::map< std::string, std::unique_ptr< reco::shower::ShowerUniqueProduerPtrBase > > showerassnPtrs
 
std::map< std::string, std::unique_ptr< reco::shower::ShowerPtrMakerBase > > showerPtrMakers
 

Detailed Description

Definition at line 303 of file ShowerProducedPtrsHolder.hh.

Member Function Documentation

◆ AddDataProducts()

void reco::shower::ShowerProducedPtrsHolder::AddDataProducts ( const reco::shower::ShowerElementHolder selement_holder)
inline

Definition at line 385 of file ShowerProducedPtrsHolder.hh.

◆ AddSingle()

template<class T , class A , class B >
void reco::shower::ShowerProducedPtrsHolder::AddSingle ( A &  a,
B &  b,
const std::string &  Name 
)
inline

Definition at line 438 of file ShowerProducedPtrsHolder.hh.

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

◆ CheckAllProducedElements()

bool reco::shower::ShowerProducedPtrsHolder::CheckAllProducedElements ( reco::shower::ShowerElementHolder selement_holder) const
inline

Definition at line 403 of file ShowerProducedPtrsHolder.hh.

Here is the call graph for this function:

◆ CheckForMultipleTypes() [1/2]

template<class T >
bool reco::shower::ShowerProducedPtrsHolder::CheckForMultipleTypes ( type< std::vector< T > >  ,
const std::string &  Name,
const std::string &  Instance 
) const
inlineprivate

Definition at line 659 of file ShowerProducedPtrsHolder.hh.

◆ CheckForMultipleTypes() [2/2]

template<class T >
bool reco::shower::ShowerProducedPtrsHolder::CheckForMultipleTypes ( type< T >  ,
const std::string &  Name,
const std::string &  Instance 
) const
inlineprivate

Definition at line 643 of file ShowerProducedPtrsHolder.hh.

Here is the call graph for this function:

◆ CheckUniqueProduerPtr()

bool reco::shower::ShowerProducedPtrsHolder::CheckUniqueProduerPtr ( const std::string &  Name) const
inline

Definition at line 364 of file ShowerProducedPtrsHolder.hh.

Here is the caller graph for this function:

◆ GetArtPtr()

template<class T >
art::Ptr< T > reco::shower::ShowerProducedPtrsHolder::GetArtPtr ( const std::string &  Name,
const int &  iter 
) const
inline

Definition at line 501 of file ShowerProducedPtrsHolder.hh.

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

◆ GetPtr()

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

Definition at line 415 of file ShowerProducedPtrsHolder.hh.

Here is the call graph for this function:

◆ GetPtrMaker()

template<class T >
art::PtrMaker< T > & reco::shower::ShowerProducedPtrsHolder::GetPtrMaker ( const std::string &  Name)
inline

Definition at line 483 of file ShowerProducedPtrsHolder.hh.

Here is the call graph for this function:

◆ GetVectorPtrSize()

int reco::shower::ShowerProducedPtrsHolder::GetVectorPtrSize ( const std::string &  Name) const
inline

Definition at line 535 of file ShowerProducedPtrsHolder.hh.

Here is the caller graph for this function:

◆ MoveAllToEvent()

void reco::shower::ShowerProducedPtrsHolder::MoveAllToEvent ( art::Event &  evt)
inline

Definition at line 393 of file ShowerProducedPtrsHolder.hh.

◆ PrintPtr()

void reco::shower::ShowerProducedPtrsHolder::PrintPtr ( const std::string &  Name) const
inline

Definition at line 546 of file ShowerProducedPtrsHolder.hh.

Here is the caller graph for this function:

◆ PrintPtrs()

void reco::shower::ShowerProducedPtrsHolder::PrintPtrs ( ) const
inline

Definition at line 571 of file ShowerProducedPtrsHolder.hh.

Here is the caller graph for this function:

◆ reset()

void reco::shower::ShowerProducedPtrsHolder::reset ( )
inline

Definition at line 372 of file ShowerProducedPtrsHolder.hh.

◆ ResetPtrMakers()

void reco::shower::ShowerProducedPtrsHolder::ResetPtrMakers ( )
inline

Definition at line 527 of file ShowerProducedPtrsHolder.hh.

◆ SetPtrMakers()

void reco::shower::ShowerProducedPtrsHolder::SetPtrMakers ( art::Event &  evt)
inline

Definition at line 470 of file ShowerProducedPtrsHolder.hh.

◆ SetShowerUniqueProduerPtr() [1/2]

template<class T >
int reco::shower::ShowerProducedPtrsHolder::SetShowerUniqueProduerPtr ( type< std::vector< T > >  ,
const std::string &  Name,
const std::string &  Instance = "" 
)
inline

Definition at line 333 of file ShowerProducedPtrsHolder.hh.

◆ SetShowerUniqueProduerPtr() [2/2]

template<class T >
int reco::shower::ShowerProducedPtrsHolder::SetShowerUniqueProduerPtr ( type< T >  ,
const std::string &  Name,
const std::string &  Instance = "" 
)
inline

Definition at line 308 of file ShowerProducedPtrsHolder.hh.

Here is the caller graph for this function:

Member Data Documentation

◆ showerassnPtrs

std::map<std::string, std::unique_ptr<reco::shower::ShowerUniqueProduerPtrBase> > reco::shower::ShowerProducedPtrsHolder::showerassnPtrs
private

Definition at line 680 of file ShowerProducedPtrsHolder.hh.

◆ showerproductPtrs

std::map<std::string, std::unique_ptr<reco::shower::ShowerUniqueProduerPtrBase> > reco::shower::ShowerProducedPtrsHolder::showerproductPtrs
private

Definition at line 677 of file ShowerProducedPtrsHolder.hh.

◆ showerPtrMakers

std::map<std::string, std::unique_ptr<reco::shower::ShowerPtrMakerBase> > reco::shower::ShowerProducedPtrsHolder::showerPtrMakers
private

Definition at line 683 of file ShowerProducedPtrsHolder.hh.


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