CMS 3D CMS Logo

Functions
edm::friendlyname Namespace Reference

Functions

static const std::string emptyString ("")
 
std::string friendlyName (std::string const &iFullName)
 
std::string handleNamespaces (std::string const &iIn)
 
std::string handleTemplateArguments (std::string const &)
 
static const std::regex reAIKR (", *edm::helper::AssociationIdenticalKeyReference")
 
static const std::regex reAllSpaces (" +")
 
static const std::regex reArray ("\\[\\]")
 
static const std::regex reBeginSpace ("^ +")
 
static const std::regex reclangabi ("std::__1::")
 
static const std::regex reColons ("::")
 
static const std::regex reComma (",")
 
static const std::regex reCXX11 ("std::__cxx11::")
 
static const std::regex reEndSpace (" +$")
 
static const std::regex reLong ("long ")
 
static const std::regex reLongLong ("Long64_t")
 
std::string removeAllSpaces (std::string const &iIn)
 
std::string removeExtraSpaces (std::string const &iIn)
 
static const std::regex reOneToMany ("edm::AssociationMap< *edm::OneToMany<(.*?),(.*?), *u[a-z]*> >")
 
static const std::regex reOneToManyWithQuality ("edm::AssociationMap<edm::OneToManyWithQuality<(.*?), *(.*?), *(.*?), *u[a-z]*> >")
 
static const std::regex reOneToOne ("edm::AssociationMap< *edm::OneToOne<(.*?),(.*?), *u[a-z]*> >")
 
static const std::regex reOneToValue ("edm::AssociationMap< *edm::OneToValue<(.*?),(.*?), *u[a-z]*> >")
 
static const std::regex reOwnVector ("edm::OwnVector<(.*), *edm::ClonePolicy<\\1 *> >")
 
static const std::regex rePointer ("\\*")
 
static const std::regex reSharedPtr ("std::shared_ptr")
 
static const std::regex reSorted ("edm::SortedCollection<(.*), *edm::StrictWeakOrdering<\\1 *> >")
 
static const std::regex reString ("std::basic_string<char>")
 
static const std::regex reString2 ("std::string")
 
static const std::regex reString3 ("std::basic_string<char,std::char_traits<char> >")
 
static const std::regex reTemplateArgs ("[^<]*<(.*)>$")
 
static const std::regex reToRangeMap ("edm::RangeMap< *(.*), *(.*), *edm::ClonePolicy<([^>]*)> >")
 
static const std::regex reToRefs1 ("edm::RefVector< *(.*)< *(.*) *>, *\\2 *, *edm::refhelper::FindUsingAdvance< *\\1< *\\2 *> *, *\\2 *> *>")
 
static const std::regex reToRefs2 ("edm::RefVector< *(.*) *, *(.*) *, *edm::refhelper::FindUsingAdvance< *\\1, *\\2 *> *>")
 
static const std::regex reToRefsAssoc ("edm::RefVector< *Association(.*) *, *edm::helper(.*), *Association(.*)::Find>")
 
static const std::regex reToVector ("edm::AssociationVector<(.*), *(.*), *edm::Ref.*,.*>")
 
static const std::regex reULongLong ("ULong64_t")
 
static const std::regex reUniquePtr ("^std::unique_ptr")
 
static const std::regex reUniquePtrDeleter ("^std::unique_ptr< *(.*), *std::default_delete<\\1> *>")
 
static const std::regex reUnorderedMap ("std::unordered_map")
 
static const std::regex reUnorderedMapCustomHashKeyEqual ("std::unordered_map< *(.*), *(.*), *(.*) *, *std::equal_to<\\1> *>")
 
static const std::regex reUnorderedMapHash ("std::unordered_map< *(.*), *(.*), *std::hash<\\1> *>")
 
static const std::regex reUnorderedMapHashKeyEqual ("std::unordered_map< *(.*), *(.*), *std::hash<\\1> *, *std::equal_to<\\1> *>")
 
static const std::regex reUnorderedSet ("std::unordered_set")
 
static const std::regex reUnorderedSetCustomHashKeyEqual ("std::unordered_set< *(.*), *(.*) *, *std::equal_to<\\1> *>")
 
static const std::regex reUnorderedSetHash ("std::unordered_set< *(.*), *std::hash<\\1> *>")
 
static const std::regex reUnorderedSetHashKeyEqual ("std::unordered_set< *(.*), *std::hash<\\1> *, *std::equal_to<\\1> *>")
 
static const std::regex reUnsigned ("unsigned ")
 
static const std::regex reVector ("std::vector")
 
static const std::regex reWrapper ("edm::Wrapper<(.*)>")
 
std::string standardRenames (std::string const &iIn)
 
std::string subFriendlyName (std::string const &iFullName)
 

Function Documentation

◆ emptyString()

static const std::string edm::friendlyname::emptyString ( ""  )
static

◆ friendlyName()

std::string edm::friendlyname::friendlyName ( std::string const &  iFullName)

Definition at line 278 of file FriendlyName.cc.

278  {
279  if constexpr (debug) {
280  std::cout << "\nfriendlyName for " << iFullName << std::endl;
281  prefix = " ";
282  }
283  typedef tbb::concurrent_unordered_map<std::string, std::string> Map;
284  static Map s_fillToFriendlyName;
285  auto itFound = s_fillToFriendlyName.find(iFullName);
286  if (s_fillToFriendlyName.end() == itFound) {
287  itFound = s_fillToFriendlyName
288  .insert(Map::value_type(iFullName, handleNamespaces(subFriendlyName(standardRenames(iFullName)))))
289  .first;
290  }
291  if constexpr (debug) {
292  std::cout << "result " << itFound->second << std::endl;
293  }
294  return itFound->second;
295  }

References gather_cfg::cout, debug, handleNamespaces(), ZMuMuAnalysisNtupler_cff::prefix, standardRenames(), and subFriendlyName().

Referenced by edm::EventContentAnalyzer::analyze(), edm::CFWriter::branchesActivate(), edm::MixingModule::branchesActivate(), gen::FortranInstance::enter(), edm::TypeID::friendlyClassName(), edm::TypeWithDict::friendlyClassName(), gen::FortranInstance::leave(), main(), edm::RootFile::RootFile(), TFWLiteSelectorBasic::setupNewFile(), edm::BranchDescription::updateFriendlyClassName(), gen::FortranInstance::upEvnt(), gen::FortranInstance::upInit(), and gen::FortranInstance::~FortranInstance().

◆ handleNamespaces()

std::string edm::friendlyname::handleNamespaces ( std::string const &  iIn)

Definition at line 38 of file FriendlyName.cc.

38 { return std::regex_replace(iIn, reColons, emptyString); }

References emptyString(), and reColons().

Referenced by friendlyName().

◆ handleTemplateArguments()

std::string edm::friendlyname::handleTemplateArguments ( std::string const &  iIn)

Definition at line 207 of file FriendlyName.cc.

207  {
208  using namespace std;
210  if constexpr (debug) {
211  std::cout << prefix << "handleTemplateArguments " << iIn << " removeExtraSpaces " << result << std::endl;
212  }
213 
214  // Trick to have every full class name to end with comma to
215  // avoid treating the end as a special case
216  result += ",";
217 
218  std::string result2;
219  result2.reserve(iIn.size());
220  unsigned int openTemplate = 0;
221  bool hadTemplate = false;
222  size_t begin = 0;
223  for (size_t i = 0, size = result.size(); i < size; ++i) {
224  if (result[i] == '<') {
225  ++openTemplate;
226  hadTemplate = true;
227  continue;
228  } else if (result[i] == '>') {
229  --openTemplate;
230  }
231  // If we are not within the template arguments of a class template
232  // - encountering comma means that we are within a template
233  // argument of some other class template, and we've reached
234  // a point when we should translate the argument class name
235  // - encountering colon, but only if the class name so far
236  // itself was a template, we've reached a point when we
237  // should translate the class name
238  if (const bool hasComma = result[i] == ',', hasColon = hadTemplate and result[i] == ':';
239  openTemplate == 0 and (hasComma or hasColon)) {
240  std::string templateClass = result.substr(begin, i - begin);
241  if constexpr (debug) {
242  std::cout << prefix << " templateClass " << templateClass << std::endl;
243  }
244  if (hadTemplate) {
245  if constexpr (debug) {
246  prefix += " ";
247  }
248  std::string friendlierName = subFriendlyName(templateClass);
249  if constexpr (debug) {
250  prefix.pop_back();
251  prefix.pop_back();
252  std::cout << prefix << " friendlierName " << friendlierName << std::endl;
253  }
254  result2 += friendlierName;
255  } else {
256  result2 += templateClass;
257  }
258  if constexpr (debug) {
259  std::cout << prefix << " result2 " << result2 << std::endl;
260  }
261  // reset counters
262  hadTemplate = false;
263  begin = i + 1;
264  // With colon we need to eat the second colon as well
265  if (hasColon) {
266  assert(result[begin] == ':');
267  ++begin;
268  }
269  }
270  }
271 
272  result = regex_replace(result2, reComma, "");
273  if constexpr (debug) {
274  std::cout << prefix << " reComma " << result << std::endl;
275  }
276  return result;
277  }

References cms::cuda::assert(), gather_cfg::cout, debug, mps_fire::i, or, ZMuMuAnalysisNtupler_cff::prefix, reComma(), removeExtraSpaces(), mps_fire::result, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and subFriendlyName().

Referenced by subFriendlyName().

◆ reAIKR()

static const std::regex edm::friendlyname::reAIKR ( ,
*edm::helper::AssociationIdenticalKeyReference  
)
static

Referenced by standardRenames().

◆ reAllSpaces()

static const std::regex edm::friendlyname::reAllSpaces ( " +"  )
static

Referenced by removeAllSpaces().

◆ reArray()

static const std::regex edm::friendlyname::reArray ( "\\"  [\\])
static

Referenced by standardRenames().

◆ reBeginSpace()

static const std::regex edm::friendlyname::reBeginSpace ( "^ +"  )
static

Referenced by removeExtraSpaces().

◆ reclangabi()

static const std::regex edm::friendlyname::reclangabi ( "std::__1::"  )
static

Referenced by standardRenames().

◆ reColons()

static const std::regex edm::friendlyname::reColons ( "::"  )
static

Referenced by handleNamespaces().

◆ reComma()

static const std::regex edm::friendlyname::reComma ( ,
 
)
static

Referenced by handleTemplateArguments().

◆ reCXX11()

static const std::regex edm::friendlyname::reCXX11 ( "std::__cxx11::"  )
static

Referenced by standardRenames().

◆ reEndSpace()

static const std::regex edm::friendlyname::reEndSpace ( " +$"  )
static

Referenced by removeExtraSpaces().

◆ reLong()

static const std::regex edm::friendlyname::reLong ( "long "  )
static

Referenced by standardRenames().

◆ reLongLong()

static const std::regex edm::friendlyname::reLongLong ( "Long64_t"  )
static

Referenced by standardRenames().

◆ removeAllSpaces()

std::string edm::friendlyname::removeAllSpaces ( std::string const &  iIn)

Definition at line 44 of file FriendlyName.cc.

44 { return std::regex_replace(iIn, reAllSpaces, emptyString); }

References emptyString(), and reAllSpaces().

Referenced by subFriendlyName().

◆ removeExtraSpaces()

std::string edm::friendlyname::removeExtraSpaces ( std::string const &  iIn)

Definition at line 40 of file FriendlyName.cc.

40  {
41  return std::regex_replace(std::regex_replace(iIn, reBeginSpace, emptyString), reEndSpace, emptyString);
42  }

References emptyString(), reBeginSpace(), and reEndSpace().

Referenced by handleTemplateArguments(), and subFriendlyName().

◆ reOneToMany()

static const std::regex edm::friendlyname::reOneToMany ( "edm::AssociationMap< *edm::OneToMany<(.*?),(.*?), *u[a-z]*> >"  )
static

Referenced by standardRenames().

◆ reOneToManyWithQuality()

static const std::regex edm::friendlyname::reOneToManyWithQuality ( "edm::AssociationMap<edm::OneToManyWithQuality<(.*?), *(.*?), *(.*?), *u[a-z]*> >"  )
static

Referenced by standardRenames().

◆ reOneToOne()

static const std::regex edm::friendlyname::reOneToOne ( "edm::AssociationMap< *edm::OneToOne<(.*?),(.*?), *u[a-z]*> >"  )
static

Referenced by standardRenames().

◆ reOneToValue()

static const std::regex edm::friendlyname::reOneToValue ( "edm::AssociationMap< *edm::OneToValue<(.*?),(.*?), *u[a-z]*> >"  )
static

Referenced by standardRenames().

◆ reOwnVector()

static const std::regex edm::friendlyname::reOwnVector ( "edm::OwnVector<(.*), *edm::ClonePolicy<\\1 *> >"  )
static

Referenced by standardRenames().

◆ rePointer()

static const std::regex edm::friendlyname::rePointer ( "\\*"  )
static

Referenced by standardRenames().

◆ reSharedPtr()

static const std::regex edm::friendlyname::reSharedPtr ( "std::shared_ptr"  )
static

Referenced by standardRenames().

◆ reSorted()

static const std::regex edm::friendlyname::reSorted ( "edm::SortedCollection<(.*), *edm::StrictWeakOrdering<\\1 *> >"  )
static

Referenced by standardRenames().

◆ reString()

static const std::regex edm::friendlyname::reString ( "std::basic_string<char>"  )
static

Referenced by standardRenames().

◆ reString2()

static const std::regex edm::friendlyname::reString2 ( "std::string"  )
static

Referenced by standardRenames().

◆ reString3()

static const std::regex edm::friendlyname::reString3 ( "std::basic_string<char,std::char_traits<char> >"  )
static

Referenced by standardRenames().

◆ reTemplateArgs()

static const std::regex edm::friendlyname::reTemplateArgs ( "*<(.*)>$"  [^<])
static

Referenced by subFriendlyName().

◆ reToRangeMap()

static const std::regex edm::friendlyname::reToRangeMap ( "edm::RangeMap< *(.*), *(.*), *edm::ClonePolicy<([^>]*  )
static

Referenced by standardRenames().

◆ reToRefs1()

static const std::regex edm::friendlyname::reToRefs1 ( "edm::RefVector< *(.*)< *(.*) *>, *\\2 *, *edm::refhelper::FindUsingAdvance< *\\1< *\\2 *> *, *\\2 *> *>"  )
static

Referenced by standardRenames().

◆ reToRefs2()

static const std::regex edm::friendlyname::reToRefs2 ( "edm::RefVector< *(.*) *, *(.*) *, *edm::refhelper::FindUsingAdvance< *\\1, *\\2 *> *>"  )
static

Referenced by standardRenames().

◆ reToRefsAssoc()

static const std::regex edm::friendlyname::reToRefsAssoc ( "edm::RefVector< *Association(.*) *, *edm::helper(.*), *Association(.*)::Find>"  )
static

Referenced by standardRenames().

◆ reToVector()

static const std::regex edm::friendlyname::reToVector ( "edm::AssociationVector<(.*), *(.*), *edm::Ref.*,.*>"  )
static

Referenced by standardRenames().

◆ reULongLong()

static const std::regex edm::friendlyname::reULongLong ( "ULong64_t"  )
static

Referenced by standardRenames().

◆ reUniquePtr()

static const std::regex edm::friendlyname::reUniquePtr ( "^std::unique_ptr"  )
static

Referenced by subFriendlyName().

◆ reUniquePtrDeleter()

static const std::regex edm::friendlyname::reUniquePtrDeleter ( "^std::unique_ptr< *(.*), *std::default_delete<\\1> *>"  )
static

Referenced by subFriendlyName().

◆ reUnorderedMap()

static const std::regex edm::friendlyname::reUnorderedMap ( "std::unordered_map"  )
static

Referenced by subFriendlyName().

◆ reUnorderedMapCustomHashKeyEqual()

static const std::regex edm::friendlyname::reUnorderedMapCustomHashKeyEqual ( "std::unordered_map< *(.*), *(.*), *(.*) *, *std::equal_to<\\1> *>"  )
static

Referenced by subFriendlyName().

◆ reUnorderedMapHash()

static const std::regex edm::friendlyname::reUnorderedMapHash ( "std::unordered_map< *(.*), *(.*), *std::hash<\\1> *>"  )
static

Referenced by subFriendlyName().

◆ reUnorderedMapHashKeyEqual()

static const std::regex edm::friendlyname::reUnorderedMapHashKeyEqual ( "std::unordered_map< *(.*), *(.*), *std::hash<\\1> *, *std::equal_to<\\1> *>"  )
static

Referenced by subFriendlyName().

◆ reUnorderedSet()

static const std::regex edm::friendlyname::reUnorderedSet ( "std::unordered_set"  )
static

Referenced by subFriendlyName().

◆ reUnorderedSetCustomHashKeyEqual()

static const std::regex edm::friendlyname::reUnorderedSetCustomHashKeyEqual ( "std::unordered_set< *(.*), *(.*) *, *std::equal_to<\\1> *>"  )
static

Referenced by subFriendlyName().

◆ reUnorderedSetHash()

static const std::regex edm::friendlyname::reUnorderedSetHash ( "std::unordered_set< *(.*), *std::hash<\\1> *>"  )
static

Referenced by subFriendlyName().

◆ reUnorderedSetHashKeyEqual()

static const std::regex edm::friendlyname::reUnorderedSetHashKeyEqual ( "std::unordered_set< *(.*), *std::hash<\\1> *, *std::equal_to<\\1> *>"  )
static

Referenced by subFriendlyName().

◆ reUnsigned()

static const std::regex edm::friendlyname::reUnsigned ( "unsigned "  )
static

Referenced by standardRenames().

◆ reVector()

static const std::regex edm::friendlyname::reVector ( "std::vector"  )
static

Referenced by standardRenames().

◆ reWrapper()

static const std::regex edm::friendlyname::reWrapper ( "edm::Wrapper<(.*)>"  )
static

Referenced by standardRenames().

◆ standardRenames()

std::string edm::friendlyname::standardRenames ( std::string const &  iIn)

Definition at line 95 of file FriendlyName.cc.

95  {
96  using std::regex;
97  using std::regex_replace;
98  std::string name = regex_replace(iIn, reWrapper, "$1");
99  name = regex_replace(name, rePointer, "ptr");
100  name = regex_replace(name, reArray, "As");
101  name = regex_replace(name, reAIKR, "");
102  name = regex_replace(name, reclangabi, "std::");
103  name = regex_replace(name, reCXX11, "std::");
104  name = regex_replace(name, reString, "String");
105  name = regex_replace(name, reString2, "String");
106  name = regex_replace(name, reString3, "String");
107  name = regex_replace(name, reSorted, "sSorted<$1>");
108  name = regex_replace(name, reULongLong, "ull");
109  name = regex_replace(name, reLongLong, "ll");
110  name = regex_replace(name, reUnsigned, "u");
111  name = regex_replace(name, reLong, "l");
112  name = regex_replace(name, reVector, "s");
113  name = regex_replace(name, reSharedPtr, "SharedPtr");
114  name = regex_replace(name, reOwnVector, "sOwned<$1>");
115  name = regex_replace(name, reToVector, "AssociationVector<$1,To,$2>");
116  name = regex_replace(name, reOneToOne, "Association<$1,ToOne,$2>");
117  name = regex_replace(name, reOneToMany, "Association<$1,ToMany,$2>");
118  name = regex_replace(name, reOneToValue, "Association<$1,ToValue,$2>");
119  name = regex_replace(name, reOneToManyWithQuality, "Association<$1,ToMany,$2,WithQuantity,$3>");
120  name = regex_replace(name, reToRangeMap, "RangeMap<$1,$2>");
121  name = regex_replace(name, reToRefs1, "Refs<$1<$2>>");
122  name = regex_replace(name, reToRefs2, "Refs<$1,$2>");
123  name = regex_replace(name, reToRefsAssoc, "Refs<Association$1>");
124  //std::cout <<"standardRenames '"<<name<<"'"<<std::endl;
125  return name;
126  }

References Skims_PA_cff::name, reAIKR(), reArray(), reclangabi(), reCXX11(), reLong(), reLongLong(), reOneToMany(), reOneToManyWithQuality(), reOneToOne(), reOneToValue(), reOwnVector(), rePointer(), reSharedPtr(), reSorted(), reString(), reString2(), reString3(), reToRangeMap(), reToRefs1(), reToRefs2(), reToRefsAssoc(), reToVector(), reULongLong(), reUnsigned(), reVector(), reWrapper(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by friendlyName().

◆ subFriendlyName()

std::string edm::friendlyname::subFriendlyName ( std::string const &  iFullName)

Definition at line 129 of file FriendlyName.cc.

129  {
130  using namespace std;
131  std::string result = removeExtraSpaces(iFullName);
132 
133  // temporarily remove leading const
134  std::string leadingConst;
135  if (std::string_view{result}.substr(0, 5) == "const") {
136  leadingConst = "const";
137  result = removeExtraSpaces(result.substr(5));
138  }
139 
140  if constexpr (debug) {
141  std::cout << prefix << "subFriendlyName iFullName " << iFullName << " result " << result << std::endl;
142  }
143  // Handle unique_ptr, which may contain the deleter (but handle only std::default_delete)
144  {
145  auto result2 =
146  regex_replace(result, reUniquePtrDeleter, "UniquePtr<$1>", std::regex_constants::format_first_only);
147  if (result2 == result) {
148  result2 = regex_replace(result, reUniquePtr, "UniquePtr", std::regex_constants::format_first_only);
149  }
150  result = std::move(result2);
151  }
152  // insert the leading const back if it was there
153  result = leadingConst + result;
154  // Handle unordered_set, which may contain a hash and an an equal for the key
155  {
156  auto result2 =
157  regex_replace(result, reUnorderedSetHashKeyEqual, "stduset<$1>", std::regex_constants::format_first_only);
158  if (result2 == result) {
159  result2 = regex_replace(
160  result, reUnorderedSetCustomHashKeyEqual, "stduset<$1, $2>", std::regex_constants::format_first_only);
161  }
162  if (result2 == result) {
163  result2 = regex_replace(result, reUnorderedSetHash, "stduset<$1>", std::regex_constants::format_first_only);
164  }
165  if (result2 == result) {
166  result2 = regex_replace(result, reUnorderedSet, "stduset", std::regex_constants::format_first_only);
167  }
168  result = std::move(result2);
169  }
170  // Handle unordered_map, which may contain a hash and an an equal for the key
171  {
172  auto result2 = regex_replace(
173  result, reUnorderedMapHashKeyEqual, "stdumap<$1, $2>", std::regex_constants::format_first_only);
174  if (result2 == result) {
175  result2 = regex_replace(
176  result, reUnorderedMapCustomHashKeyEqual, "stdumap<$1, $2, $3>", std::regex_constants::format_first_only);
177  }
178  if (result2 == result) {
179  result2 =
180  regex_replace(result, reUnorderedMapHash, "stdumap<$1, $2>", std::regex_constants::format_first_only);
181  }
182  if (result2 == result) {
183  result2 = regex_replace(result, reUnorderedMap, "stdumap", std::regex_constants::format_first_only);
184  }
185  result = std::move(result2);
186  }
187  if (smatch theMatch; regex_match(result, theMatch, reTemplateArgs)) {
188  //std::cout <<"found match \""<<theMatch.str(1) <<"\"" <<std::endl;
189  //static regex const templateClosing(">$");
190  //std::string aMatch = regex_replace(theMatch.str(1),templateClosing,"");
191  std::string aMatch = theMatch.str(1);
192  if constexpr (debug) {
193  prefix += " ";
194  }
195  std::string theSub = handleTemplateArguments(aMatch);
196  if constexpr (debug) {
197  prefix.pop_back();
198  prefix.pop_back();
199  std::cout << prefix << " aMatch " << aMatch << " theSub " << theSub << std::endl;
200  }
201  regex const eMatch(std::string("(^[^<]*)<") + aMatch + ">");
202  result = regex_replace(result, eMatch, theSub + "$1");
203  }
204  return removeAllSpaces(result);
205  }

References gather_cfg::cout, debug, handleTemplateArguments(), eostools::move(), ZMuMuAnalysisNtupler_cff::prefix, removeAllSpaces(), removeExtraSpaces(), mps_fire::result, reTemplateArgs(), reUniquePtr(), reUniquePtrDeleter(), reUnorderedMap(), reUnorderedMapCustomHashKeyEqual(), reUnorderedMapHash(), reUnorderedMapHashKeyEqual(), reUnorderedSet(), reUnorderedSetCustomHashKeyEqual(), reUnorderedSetHash(), reUnorderedSetHashKeyEqual(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by friendlyName(), and handleTemplateArguments().

edm::friendlyname::rePointer
static const std::regex rePointer("\\*")
edm::friendlyname::removeExtraSpaces
std::string removeExtraSpaces(std::string const &iIn)
Definition: FriendlyName.cc:40
mps_fire.i
i
Definition: mps_fire.py:428
edm::friendlyname::reToRefs2
static const std::regex reToRefs2("edm::RefVector< *(.*) *, *(.*) *, *edm::refhelper::FindUsingAdvance< *\\1, *\\2 *> *>")
edm::friendlyname::reString
static const std::regex reString("std::basic_string<char>")
edm::friendlyname::reLongLong
static const std::regex reLongLong("Long64_t")
edm::friendlyname::reWrapper
static const std::regex reWrapper("edm::Wrapper<(.*)>")
gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::friendlyname::reOneToValue
static const std::regex reOneToValue("edm::AssociationMap< *edm::OneToValue<(.*?),(.*?), *u[a-z]*> >")
edm::friendlyname::emptyString
static const std::string emptyString("")
cms::cuda::assert
assert(be >=bs)
edm::friendlyname::reUnorderedMapCustomHashKeyEqual
static const std::regex reUnorderedMapCustomHashKeyEqual("std::unordered_map< *(.*), *(.*), *(.*) *, *std::equal_to<\\1> *>")
edm::friendlyname::subFriendlyName
std::string subFriendlyName(std::string const &iFullName)
Definition: FriendlyName.cc:129
edm::friendlyname::reToRangeMap
static const std::regex reToRangeMap("edm::RangeMap< *(.*), *(.*), *edm::ClonePolicy<([^>]*)> >")
edm::friendlyname::reUnorderedSet
static const std::regex reUnorderedSet("std::unordered_set")
edm::friendlyname::reArray
static const std::regex reArray("\\[\\]")
edm::friendlyname::removeAllSpaces
std::string removeAllSpaces(std::string const &iIn)
Definition: FriendlyName.cc:44
edm::friendlyname::reUnorderedSetHashKeyEqual
static const std::regex reUnorderedSetHashKeyEqual("std::unordered_set< *(.*), *std::hash<\\1> *, *std::equal_to<\\1> *>")
edm::friendlyname::reToRefs1
static const std::regex reToRefs1("edm::RefVector< *(.*)< *(.*) *>, *\\2 *, *edm::refhelper::FindUsingAdvance< *\\1< *\\2 *> *, *\\2 *> *>")
edm::friendlyname::reColons
static const std::regex reColons("::")
debug
#define debug
Definition: HDRShower.cc:19
edm::friendlyname::reUnorderedMap
static const std::regex reUnorderedMap("std::unordered_map")
edm::friendlyname::reLong
static const std::regex reLong("long ")
edm::friendlyname::reToVector
static const std::regex reToVector("edm::AssociationVector<(.*), *(.*), *edm::Ref.*,.*>")
edm::friendlyname::reOneToOne
static const std::regex reOneToOne("edm::AssociationMap< *edm::OneToOne<(.*?),(.*?), *u[a-z]*> >")
edm::friendlyname::reTemplateArgs
static const std::regex reTemplateArgs("[^<]*<(.*)>$")
edm::friendlyname::reString3
static const std::regex reString3("std::basic_string<char,std::char_traits<char> >")
edm::friendlyname::handleNamespaces
std::string handleNamespaces(std::string const &iIn)
Definition: FriendlyName.cc:38
edm::friendlyname::reAIKR
static const std::regex reAIKR(", *edm::helper::AssociationIdenticalKeyReference")
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::friendlyname::reUniquePtr
static const std::regex reUniquePtr("^std::unique_ptr")
edm::friendlyname::reUniquePtrDeleter
static const std::regex reUniquePtrDeleter("^std::unique_ptr< *(.*), *std::default_delete<\\1> *>")
edm::friendlyname::reSorted
static const std::regex reSorted("edm::SortedCollection<(.*), *edm::StrictWeakOrdering<\\1 *> >")
edm::friendlyname::reUnsigned
static const std::regex reUnsigned("unsigned ")
edm::friendlyname::reComma
static const std::regex reComma(",")
edm::friendlyname::reToRefsAssoc
static const std::regex reToRefsAssoc("edm::RefVector< *Association(.*) *, *edm::helper(.*), *Association(.*)::Find>")
edm::friendlyname::reOneToMany
static const std::regex reOneToMany("edm::AssociationMap< *edm::OneToMany<(.*?),(.*?), *u[a-z]*> >")
edm::friendlyname::handleTemplateArguments
std::string handleTemplateArguments(std::string const &)
Definition: FriendlyName.cc:207
reco::JetExtendedAssociation::value_type
Container::value_type value_type
Definition: JetExtendedAssociation.h:30
edm::friendlyname::reEndSpace
static const std::regex reEndSpace(" +$")
edm::friendlyname::reULongLong
static const std::regex reULongLong("ULong64_t")
edm::friendlyname::reOwnVector
static const std::regex reOwnVector("edm::OwnVector<(.*), *edm::ClonePolicy<\\1 *> >")
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
edm::friendlyname::standardRenames
std::string standardRenames(std::string const &iIn)
Definition: FriendlyName.cc:95
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
or
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
edm::friendlyname::reCXX11
static const std::regex reCXX11("std::__cxx11::")
mps_fire.result
result
Definition: mps_fire.py:311
edm::friendlyname::reAllSpaces
static const std::regex reAllSpaces(" +")
edm::friendlyname::reBeginSpace
static const std::regex reBeginSpace("^ +")
edm::friendlyname::reclangabi
static const std::regex reclangabi("std::__1::")
edm::friendlyname::reVector
static const std::regex reVector("std::vector")
edm::friendlyname::reOneToManyWithQuality
static const std::regex reOneToManyWithQuality("edm::AssociationMap<edm::OneToManyWithQuality<(.*?), *(.*?), *(.*?), *u[a-z]*> >")
edm::friendlyname::reSharedPtr
static const std::regex reSharedPtr("std::shared_ptr")
edm::friendlyname::reString2
static const std::regex reString2("std::string")
edm::friendlyname::reUnorderedMapHashKeyEqual
static const std::regex reUnorderedMapHashKeyEqual("std::unordered_map< *(.*), *(.*), *std::hash<\\1> *, *std::equal_to<\\1> *>")
edm::friendlyname::reUnorderedMapHash
static const std::regex reUnorderedMapHash("std::unordered_map< *(.*), *(.*), *std::hash<\\1> *>")
edm::friendlyname::reUnorderedSetCustomHashKeyEqual
static const std::regex reUnorderedSetCustomHashKeyEqual("std::unordered_set< *(.*), *(.*) *, *std::equal_to<\\1> *>")
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
ZMuMuAnalysisNtupler_cff.prefix
prefix
Definition: ZMuMuAnalysisNtupler_cff.py:14
edm::friendlyname::reUnorderedSetHash
static const std::regex reUnorderedSetHash("std::unordered_set< *(.*), *std::hash<\\1> *>")