CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
nanoaod::UniqueString Class Reference

#include <UniqueString.h>

Public Member Functions

bool isProductEqual (const UniqueString &other) const
 
bool operator== (const std::string &other) const
 
bool operator== (const UniqueString &other) const
 
const std::string & str () const
 
 UniqueString ()
 
 UniqueString (const std::string &str)
 

Private Attributes

std::string str_
 

Detailed Description

Definition at line 8 of file UniqueString.h.

Constructor & Destructor Documentation

◆ UniqueString() [1/2]

nanoaod::UniqueString::UniqueString ( )
inline

Definition at line 10 of file UniqueString.h.

10 {}

◆ UniqueString() [2/2]

nanoaod::UniqueString::UniqueString ( const std::string &  str)
inline

Definition at line 11 of file UniqueString.h.

11 : str_(str) {}

Member Function Documentation

◆ isProductEqual()

bool nanoaod::UniqueString::isProductEqual ( const UniqueString other) const
inline

Definition at line 15 of file UniqueString.h.

15 { return (*this) == other; }

References trackingPlots::other.

◆ operator==() [1/2]

bool nanoaod::UniqueString::operator== ( const std::string &  other) const
inline

Definition at line 13 of file UniqueString.h.

13 { return str_ == other; }

References trackingPlots::other, and str_.

◆ operator==() [2/2]

bool nanoaod::UniqueString::operator== ( const UniqueString other) const
inline

Definition at line 14 of file UniqueString.h.

14 { return str_ == other.str_; }

References trackingPlots::other, and str_.

◆ str()

const std::string& nanoaod::UniqueString::str ( ) const
inline

Definition at line 12 of file UniqueString.h.

12 { return str_; }

References str_.

Referenced by NanoAODOutputModule::writeRun().

Member Data Documentation

◆ str_

std::string nanoaod::UniqueString::str_
private

Definition at line 18 of file UniqueString.h.

Referenced by operator==(), and str().

nanoaod::UniqueString::str_
std::string str_
Definition: UniqueString.h:18
trackingPlots.other
other
Definition: trackingPlots.py:1460
nanoaod::UniqueString::str
const std::string & str() const
Definition: UniqueString.h:12