All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
reco::shower::ShowerProperty< T, T2 > Class Template Reference

#include <ShowerElementHolder.hh>

Inheritance diagram for reco::shower::ShowerProperty< T, T2 >:
reco::shower::ShowerElementAccessor< T > reco::shower::ShowerElementBase

Public Member Functions

 ShowerProperty (T &Element, T2 &ElementErr)
 
int GetShowerPropertyError (T2 &ElementErr) const
 
void SetShowerProperty (T &Element, T2 &ElementErr)
 
void Clear ()
 
- Public Member Functions inherited from reco::shower::ShowerElementAccessor< T >
 ShowerElementAccessor (T &Element)
 
void SetShowerElement (T &Element)
 
int GetShowerElement (T &Element) const
 
T & GetShowerElementRef ()
 
GetShowerElement () const
 
std::string GetType () const override
 
- Public Member Functions inherited from reco::shower::ShowerElementBase
virtual ~ShowerElementBase () noexcept=default
 
virtual bool CheckTag () const
 
virtual void SetCheckTag (bool &check)
 
bool CheckShowerElement () const
 
void Clear ()
 

Private Attributes

T2 propertyErr
 

Additional Inherited Members

- Protected Attributes inherited from reco::shower::ShowerElementAccessor< T >
element
 
- Protected Attributes inherited from reco::shower::ShowerElementBase
bool elementPtr
 

Detailed Description

template<class T, class T2>
class reco::shower::ShowerProperty< T, T2 >

Definition at line 33 of file ShowerElementHolder.hh.

Constructor & Destructor Documentation

template<class T, class T2>
reco::shower::ShowerProperty< T, T2 >::ShowerProperty ( T &  Element,
T2 &  ElementErr 
)
inline

Member Function Documentation

template<class T, class T2>
void reco::shower::ShowerProperty< T, T2 >::Clear ( )
inline

Definition at line 202 of file ShowerElementHolder.hh.

202  {
203  this->element = T();
204  this->elementPtr = 0;
205  }
template<class T, class T2>
int reco::shower::ShowerProperty< T, T2 >::GetShowerPropertyError ( T2 &  ElementErr) const
inline

Definition at line 185 of file ShowerElementHolder.hh.

185  {
186  if(this->elementPtr){
187  ElementErr = propertyErr;
188  return 0;
189  }
190  else{
191  return 1;
192  }
193  }
template<class T, class T2>
void reco::shower::ShowerProperty< T, T2 >::SetShowerProperty ( T &  Element,
T2 &  ElementErr 
)
inline

Definition at line 196 of file ShowerElementHolder.hh.

196  {
197  this->element = Element;
198  this->elementPtr = 1;
199  propertyErr = ElementErr;
200  }

Member Data Documentation

template<class T, class T2>
T2 reco::shower::ShowerProperty< T, T2 >::propertyErr
private

Definition at line 208 of file ShowerElementHolder.hh.


The documentation for this class was generated from the following file: