515 unsigned int maxname = 0;
517 if(showerprodPtr.first.size() > maxname){
518 maxname = showerprodPtr.first.size();
522 if(showerassnPtr.first.size() > maxname){
523 maxname = showerassnPtr.first.size();
527 std::map<std::string,std::pair<std::string,std::string> > Type_showerprodPtrs;
528 std::map<std::string,std::pair<std::string,std::string> > Type_showerassnPtrs;
529 for(
auto const& showerprodPtr: showerproductPtrs){
531 const std::string InstanceName = (showerprodPtr.second)->GetInstanceName();
532 Type_showerprodPtrs[showerprodPtr.first] = std::make_pair(InstanceName,Type);
534 for(
auto const& showerassnPtr: showerassnPtrs){
535 const std::string Type = (showerassnPtr.second)->GetType();
536 const std::string InstanceName = (showerassnPtr.second)->GetInstanceName();
537 Type_showerassnPtrs[showerassnPtr.first] = std::make_pair(InstanceName,Type);
540 unsigned int maxtype = 0;
541 unsigned int maxinstname = 0;
542 for(
auto const& Type_showerprodPtr: Type_showerprodPtrs){
543 if(Type_showerprodPtr.second.second.size() > maxtype){
544 maxtype = Type_showerprodPtr.second.second.size();
546 if(Type_showerprodPtr.second.first.size() > maxinstname){
547 maxinstname = Type_showerprodPtr.second.first.size();
550 for(
auto const& Type_showerassnPtr: Type_showerassnPtrs){
551 if(Type_showerassnPtr.second.second.size() > maxtype){
552 maxtype = Type_showerassnPtr.second.second.size();
554 if(Type_showerassnPtr.second.first.size() > maxinstname){
555 maxinstname = Type_showerassnPtr.second.first.size();
559 unsigned int n = maxname + maxtype + maxinstname + 51;
561 std::cout <<
"Unique Ptrs that are added to the event" <<
std::endl;
563 for(
auto const& Type_showerprodPtr: Type_showerprodPtrs){
568 for(
auto const& Type_showerassnPtr: Type_showerassnPtrs){
std::map< std::string, std::unique_ptr< reco::shower::ShowerUniqueProduerPtrBase > > showerproductPtrs
std::map< std::string, std::unique_ptr< reco::shower::ShowerUniqueProduerPtrBase > > showerassnPtrs
Q_EXPORT QTSManip setw(int w)
Q_EXPORT QTSManip setfill(int f)
QTextStream & endl(QTextStream &s)