ATLAS Offline Software
Classes | Functions
Trigger/TrigEvent/TrigCombinedEvent/TrigCombinedEvent/TrigComposite.h File Reference
#include <string>
#include <vector>
#include <cmath>
#include <limits>
#include <set>
#include "AthenaKernel/CLASS_DEF.h"
#include "GaudiKernel/ClassID.h"
#include "TrigNavigation/TrigFeatureLink.h"
#include "GaudiKernel/MsgStream.h"
Include dependency graph for Trigger/TrigEvent/TrigCombinedEvent/TrigCombinedEvent/TrigComposite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TrigComposite
 

Functions

MsgStream & operator<< (MsgStream &m, const TrigComposite &d)
 Prints the content of the object. More...
 

Function Documentation

◆ operator<<()

MsgStream& operator<< ( MsgStream &  m,
const TrigComposite d 
)

Prints the content of the object.

Definition at line 198 of file TrigComposite.cxx.

198  {
199  log << "TrigComposite object: " << d.name() << endmsg;
200  print<float> (log, d, "floats");
201  print<int> (log, d, "ints");
202  print<std::string> (log, d, "strings");
203 
204 
205  print<std::vector<float> > (log, d, "vector of floats") ;
206  print<std::vector<int> > (log, d, "vector of ints");
207  print<std::vector<string> > (log, d, "vector of strings");
208 
209  if ( ! d.allDetails<TrigFeatureLink>().empty() ) {
210  typedef std::map<std::string, TrigFeatureLink>::value_type key_value;
211  for( const key_value& kv : d.allDetails<TrigFeatureLink>()) {
212  log << "(" << kv.first << ", " << "CLID:" << kv.second.clid() <<") ";
213  }
214 
215  } else {
216  log << "There are no objects assocuiated with this TrigComposite object" << endmsg;
217  }
218 
219 
220  return log;
221 }
hist_file_dump.d
d
Definition: hist_file_dump.py:137
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20