CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
mpPCLresults Struct Reference

#include <MillePedeFileReader.h>

Public Member Functions

const bool belowSignificance ()
 
const bool exceedsCutoffs ()
 
const bool exceedsMaxError ()
 
const bool exceedsThresholds ()
 
const bool getDBUpdated ()
 
const bool getDBVetoed ()
 
const int getExitCode ()
 
const std::string getExitMessage ()
 
const int getNRecords ()
 
const bool isHighGranularity ()
 
 mpPCLresults (bool isDBUpdated, bool isDBUpdateVetoed, int nRecords, int exitCode, std::string exitMessage, std::bitset< 4 > updateBits, bool isHG)
 
void print ()
 

Private Attributes

int m_exitCode
 
std::string m_exitMessage
 
bool m_isDBUpdated
 
bool m_isDBUpdateVetoed
 
bool m_isHG
 
int m_nRecords
 
std::bitset< 4 > m_updateBits
 

Detailed Description

Definition at line 18 of file MillePedeFileReader.h.

Constructor & Destructor Documentation

◆ mpPCLresults()

mpPCLresults::mpPCLresults ( bool  isDBUpdated,
bool  isDBUpdateVetoed,
int  nRecords,
int  exitCode,
std::string  exitMessage,
std::bitset< 4 >  updateBits,
bool  isHG 
)
inline

Definition at line 29 of file MillePedeFileReader.h.

Member Function Documentation

◆ belowSignificance()

const bool mpPCLresults::belowSignificance ( )
inline

Definition at line 50 of file MillePedeFileReader.h.

References m_updateBits.

50 { return m_updateBits.test(3); }
std::bitset< 4 > m_updateBits

◆ exceedsCutoffs()

const bool mpPCLresults::exceedsCutoffs ( )
inline

Definition at line 48 of file MillePedeFileReader.h.

References m_updateBits.

48 { return m_updateBits.test(1); }
std::bitset< 4 > m_updateBits

◆ exceedsMaxError()

const bool mpPCLresults::exceedsMaxError ( )
inline

Definition at line 49 of file MillePedeFileReader.h.

References m_updateBits.

49 { return m_updateBits.test(2); }
std::bitset< 4 > m_updateBits

◆ exceedsThresholds()

const bool mpPCLresults::exceedsThresholds ( )
inline

Definition at line 47 of file MillePedeFileReader.h.

References m_updateBits.

47 { return m_updateBits.test(0); }
std::bitset< 4 > m_updateBits

◆ getDBUpdated()

const bool mpPCLresults::getDBUpdated ( )
inline

Definition at line 45 of file MillePedeFileReader.h.

References m_isDBUpdated.

45 { return m_isDBUpdated; }

◆ getDBVetoed()

const bool mpPCLresults::getDBVetoed ( )
inline

Definition at line 46 of file MillePedeFileReader.h.

References m_isDBUpdateVetoed.

46 { return m_isDBUpdateVetoed; }

◆ getExitCode()

const int mpPCLresults::getExitCode ( )
inline

Definition at line 52 of file MillePedeFileReader.h.

References m_exitCode.

52 { return m_exitCode; }

◆ getExitMessage()

const std::string mpPCLresults::getExitMessage ( )
inline

Definition at line 53 of file MillePedeFileReader.h.

References m_exitMessage.

53 { return m_exitMessage; }
std::string m_exitMessage

◆ getNRecords()

const int mpPCLresults::getNRecords ( )
inline

Definition at line 51 of file MillePedeFileReader.h.

References m_nRecords.

51 { return m_nRecords; }

◆ isHighGranularity()

const bool mpPCLresults::isHighGranularity ( )
inline

Definition at line 44 of file MillePedeFileReader.h.

References m_isHG.

44 { return m_isHG; }

◆ print()

void mpPCLresults::print ( void  )
inline

Definition at line 55 of file MillePedeFileReader.h.

References m_exitCode, m_exitMessage, m_isDBUpdated, m_isDBUpdateVetoed, and m_nRecords.

55  {
56  edm::LogInfo("MillePedeFileReader") << " is DB updated: " << m_isDBUpdated
57  << " is DB update vetoed: " << m_isDBUpdateVetoed << " nRecords: " << m_nRecords
58  << " exitCode: " << m_exitCode << " (" << m_exitMessage << ")" << std::endl;
59  }
Log< level::Info, false > LogInfo
std::string m_exitMessage

Member Data Documentation

◆ m_exitCode

int mpPCLresults::m_exitCode
private

Definition at line 24 of file MillePedeFileReader.h.

Referenced by getExitCode(), and print().

◆ m_exitMessage

std::string mpPCLresults::m_exitMessage
private

Definition at line 25 of file MillePedeFileReader.h.

Referenced by getExitMessage(), and print().

◆ m_isDBUpdated

bool mpPCLresults::m_isDBUpdated
private

Definition at line 21 of file MillePedeFileReader.h.

Referenced by getDBUpdated(), and print().

◆ m_isDBUpdateVetoed

bool mpPCLresults::m_isDBUpdateVetoed
private

Definition at line 22 of file MillePedeFileReader.h.

Referenced by getDBVetoed(), and print().

◆ m_isHG

bool mpPCLresults::m_isHG
private

Definition at line 20 of file MillePedeFileReader.h.

Referenced by isHighGranularity().

◆ m_nRecords

int mpPCLresults::m_nRecords
private

Definition at line 23 of file MillePedeFileReader.h.

Referenced by getNRecords(), and print().

◆ m_updateBits

std::bitset<4> mpPCLresults::m_updateBits
private