524 unsigned int maxname = 0;
526 if(showerprodPtr.first.size() > maxname){
527 maxname = showerprodPtr.first.size();
531 if(showerassnPtr.first.size() > maxname){
532 maxname = showerassnPtr.first.size();
536 std::map<std::string,std::pair<std::string,std::string> > Type_showerprodPtrs;
537 std::map<std::string,std::pair<std::string,std::string> > Type_showerassnPtrs;
538 for(
auto const& showerprodPtr: showerproductPtrs){
540 std::string InstanceName = (showerprodPtr.second)->GetInstanceName();
541 Type_showerprodPtrs[showerprodPtr.first] = std::make_pair(InstanceName,Type);
543 for(
auto const& showerassnPtr: showerassnPtrs){
544 std::string Type = (showerassnPtr.second)->GetType();
545 std::string InstanceName = (showerassnPtr.second)->GetInstanceName();
546 Type_showerassnPtrs[showerassnPtr.first] = std::make_pair(InstanceName,Type);
549 unsigned int maxtype = 0;
550 unsigned int maxinstname = 0;
551 for(
auto const& Type_showerprodPtr: Type_showerprodPtrs){
552 if(Type_showerprodPtr.second.second.size() > maxtype){
553 maxtype = Type_showerprodPtr.second.second.size();
555 if(Type_showerprodPtr.second.first.size() > maxinstname){
556 maxinstname = Type_showerprodPtr.second.first.size();
559 for(
auto const& Type_showerassnPtr: Type_showerassnPtrs){
560 if(Type_showerassnPtr.second.second.size() > maxtype){
561 maxtype = Type_showerassnPtr.second.second.size();
563 if(Type_showerassnPtr.second.first.size() > maxinstname){
564 maxinstname = Type_showerassnPtr.second.first.size();
568 unsigned int n = maxname + maxtype + maxinstname + 51;
570 std::cout <<
"Unique Ptrs that are added to the event" <<
std::endl;
572 for(
auto const& Type_showerprodPtr: Type_showerprodPtrs){
577 for(
auto const& Type_showerassnPtr: Type_showerassnPtrs){
Q_EXPORT QTSManip setw(int w)
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 setfill(int f)
QTextStream & endl(QTextStream &s)