ATLAS Offline Software
Loading...
Searching...
No Matches
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
 The class is meant to store links (of type TrigFeatureLink) to trigger objects and arbitrary details (of type, float, int, string, or vectors of those) More...

Functions

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

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}
#define endmsg
void print(char *figname, TCanvas *c1)