LDMX Software
Classes | Namespaces | Functions
ProductTag.h File Reference

Class defining the identity of a data product in the event. More...

#include <ostream>
#include <string>

Go to the source code of this file.

Classes

class  framework::ProductTag
 Defines the identity of a product and can be used for searches. More...
 

Namespaces

namespace  framework
 All classes in the ldmx-sw project use this namespace.
 

Functions

std::ostream & operator<< (std::ostream &, const framework::ProductTag &)
 Print/stream method for framework::ProductTag.
 

Detailed Description

Class defining the identity of a data product in the event.

Author
Jeremy Mans, University of Minnesota

Definition in file ProductTag.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  s,
const framework::ProductTag pt 
)

Print/stream method for framework::ProductTag.

Definition at line 3 of file ProductTag.cxx.

3 {
4 return s << "{ name = " << pt.name() << ", pass = " << pt.passname()
5 << ", type = " << pt.type() << "}";
6}
const std::string & type() const
Get the product type name.
Definition ProductTag.h:52
const std::string & name() const
Get the product name.
Definition ProductTag.h:42
const std::string & passname() const
Get the product pass name.
Definition ProductTag.h:47

References framework::ProductTag::name(), framework::ProductTag::passname(), and framework::ProductTag::type().