ATLAS Offline Software
Loading...
Searching...
No Matches
TrigComposite.h File Reference
#include "AthenaKernel/CLASS_DEF.h"
#include "GaudiKernel/ClassID.h"
#include "TrigNavigation/TrigFeatureLink.h"
#include <string>
#include <vector>
#include <set>
#include <map>
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 189 of file TrigComposite.cxx.

189 {
190 log << "TrigComposite object: " << d.name() << endmsg;
191 print<float> (log, d, "floats");
192 print<int> (log, d, "ints");
193 print<std::string> (log, d, "strings");
194
195
196 print<std::vector<float> > (log, d, "vector of floats") ;
197 print<std::vector<int> > (log, d, "vector of ints");
198 print<std::vector<string> > (log, d, "vector of strings");
199
200 if ( ! d.allDetails<TrigFeatureLink>().empty() ) {
201 typedef std::map<std::string, TrigFeatureLink>::value_type key_value;
202 for( const key_value& kv : d.allDetails<TrigFeatureLink>()) {
203 log << "(" << kv.first << ", " << "CLID:" << kv.second.clid() <<") ";
204 }
205
206 } else {
207 log << "There are no objects assocuiated with this TrigComposite object" << endmsg;
208 }
209
210
211 return log;
212}
#define endmsg
void print(char *figname, TCanvas *c1)