ATLAS Offline Software
Loading...
Searching...
No Matches
PATTERNidentity.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PATTERNIDENTITY_H
6#define PATTERNIDENTITY_H
7
10#include <sstream>
11
13{
14 private:
15 static const char s_inputTag[4][9];
16
19
20 public:
23
25
26 bool operator ==(const PATTERNidentity&) const;
27 bool operator !=(const PATTERNidentity&) const;
28 bool operator < (const PATTERNidentity&) const;
29
30 CMAinput input_id(void) const {return m_input_id;}
31 int layer_id(void) const {return m_layer_id;}
32
33 void Print(std::ostream&,bool) const;
34};
35
36
37template <class X> X& operator<<(X& stream,const PATTERNidentity& data)
38{
39 std::ostringstream display;
40 data.Print(display,false);
41 stream << display.str();
42 return stream;
43}
44
45#endif
CMAinput
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
X & operator<<(X &stream, const PATTERNidentity &data)
bool operator!=(const PATTERNidentity &) const
bool operator<(const PATTERNidentity &) const
int layer_id(void) const
PATTERNidentity operator=(const PATTERNidentity &)
CMAinput input_id(void) const
static const char s_inputTag[4][9]
PATTERNidentity(CMAinput, int)
void Print(std::ostream &, bool) const
bool operator==(const PATTERNidentity &) const