48 int calculation_status =
CalculateElement(pfparticle, Event, ShowerEleHolder);
49 if (calculation_status != 0)
return calculation_status;
52 pfparticle, Event, ShowerEleHolder, evd_display_name_append);
54 return calculation_status;
114 bool check_element = ShowerEleHolder.
CheckElement(Name);
115 if (!check_element) {
116 throw cet::exception(
"IShowerTool") <<
"tried to get a element that does not exist. Failed " 117 "at making the art ptr for Element: " 125 <<
"tried to get a ptr that does not exist. Failed at making the art ptr for Element" 131 if (iter != -1) { index = iter; }
147 if (collectorPtr ==
nullptr) {
148 mf::LogWarning(
"IShowerTool") <<
"The art::ProducesCollector ptr has not been set";
158 template <
class T,
class A,
class B>
void DebugEVD(art::Ptr< recob::PFParticle > const &pfparticle, art::Event const &Event, const reco::shower::ShowerElementHolder &ShowerEleHolder, std::string const &evd_disp_name_append="") const
int GetShowerNumber() const
ChannelGroupService::Name Name
void PrintPtr(const std::string &Name) const
bool CheckUniqueProduerPtr(const std::string &Name) const
void produces(std::string const &instanceName={}, Persistable const persistable=Persistable::Yes)
void AddSingle(A &a, B &b, const std::string &Name)
bool CheckElement(const std::string &Name) const
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
art::Ptr< T > GetArtPtr(const std::string &Name, const int &iter) const
auto const & get(AssnsNode< L, R, D > const &r)
int SetShowerUniqueProduerPtr(type< T >, const std::string &Name, const std::string &Instance="")
int GetVectorPtrSize(const std::string &Name) const
cet::coded_exception< error, detail::translate > exception
QTextStream & endl(QTextStream &s)