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 31 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 ( void  )
inline
template<class T, class T2>
int reco::shower::ShowerProperty< T, T2 >::GetShowerPropertyError ( T2 ElementErr) const
inline

Definition at line 183 of file ShowerElementHolder.hh.

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

Definition at line 194 of file ShowerElementHolder.hh.

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

Member Data Documentation

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

Definition at line 206 of file ShowerElementHolder.hh.


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