~ma5dev/madanalysis5/v1.8_beta

« back to all changes in this revision

Viewing changes to tools/SampleAnalyzer/Commons/DataFormat/WeightDefinition.cpp

  • Committer: Benjamin Fuks
  • Date: 2019-02-13 11:11:25 UTC
  • mfrom: (122.1.35 v1.7beta)
  • Revision ID: fuks@cern.ch-20190213111125-lkj9uj8wqenzewev
Releasing v1.7; check the changelog for details

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
                 combine.begin(), std::ptr_fun<int, int>(std::tolower));
37
37
    
38
38
  // Checking the 'combine' value
39
 
  bool test = combine=="none" || combine=="gaussian" || combine=="hessian" || combine=="envelope";
 
39
  MAbool test = combine=="none" || combine=="gaussian" || combine=="hessian" || combine=="envelope";
40
40
  try
41
41
  {
42
42
    if (!test) throw EXCEPTION_WARNING("The WeightGroup '"+name+
114
114
  INFO << "#Weights:      " << weights_.size() << endmsg;
115
115
 
116
116
  // Loop over WeightGroups
117
 
  for (unsigned int j=0;j<groups_.size();j++)
 
117
  for (MAuint32 j=0;j<groups_.size();j++)
118
118
  {
119
119
    INFO << "|- WeightGroup = '" << groups_[j].name << "' with combine='" << groups_[j].combine << "' " << endmsg;
120
120
 
121
121
    // Loop over Weights
122
 
    for (unsigned int i=0;i<groups_[j].weights.size();i++)
 
122
    for (MAuint32 i=0;i<groups_[j].weights.size();i++)
123
123
    {
124
124
      INFO << "  + Weight = " << groups_[j].weights[i]->id << " with name = '" << groups_[j].weights[i]->name << "'" << endmsg; 
125
125
    }