CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
FWGeometry::VersionInfo Class Reference

#include <FWGeometry.h>

Public Member Functions

bool haveGEM () const
 
bool haveRE4 () const
 
void ProcessProductionTag (const char *)
 
 VersionInfo ()
 

Private Attributes

bool m_haveGEM
 
bool m_haveRE4
 

Detailed Description

Definition at line 41 of file FWGeometry.h.

Constructor & Destructor Documentation

FWGeometry::VersionInfo::VersionInfo ( )
inline

Definition at line 43 of file FWGeometry.h.

43 :m_haveRE4(false), m_haveGEM(false) {}

Member Function Documentation

bool FWGeometry::VersionInfo::haveGEM ( ) const
inline

Definition at line 46 of file FWGeometry.h.

References m_haveGEM.

Referenced by FWRPZView::populateController().

46 { return m_haveGEM; }
bool FWGeometry::VersionInfo::haveRE4 ( ) const
inline

Definition at line 45 of file FWGeometry.h.

References m_haveRE4.

Referenced by FWRPZViewGeometry::showRpcEndcap().

45 { return m_haveRE4; }
void FWGeometry::VersionInfo::ProcessProductionTag ( const char *  tag)

Definition at line 376 of file FWGeometry.cc.

References fwLog, fwlog::kDebug, m_haveGEM, and m_haveRE4.

Referenced by FWGeometry::loadMap().

377 {
378  if (!strncmp(tag,"2015",4))
379  {
380  m_haveRE4 = true;
381  }
382  else if (!strncmp(tag,"2019",4))
383  {
384  m_haveRE4 = true;
385  m_haveGEM = true;
386  }
387 
388 
389  fwLog( fwlog::kDebug ) << Form("FWGeometry::VersionInfo parse tag [%s] GEM=%d RE4=%d \n", tag, m_haveGEM, m_haveRE4);
390 }
#define fwLog(_level_)
Definition: fwLog.h:50

Member Data Documentation

bool FWGeometry::VersionInfo::m_haveGEM
private

Definition at line 51 of file FWGeometry.h.

Referenced by haveGEM(), and ProcessProductionTag().

bool FWGeometry::VersionInfo::m_haveRE4
private

Definition at line 50 of file FWGeometry.h.

Referenced by haveRE4(), and ProcessProductionTag().