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 22 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 33 of file MillePedeFileReader.h.

Member Function Documentation

◆ belowSignificance()

const bool mpPCLresults::belowSignificance ( )
inline

Definition at line 54 of file MillePedeFileReader.h.

References m_updateBits.

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

◆ exceedsCutoffs()

const bool mpPCLresults::exceedsCutoffs ( )
inline

Definition at line 52 of file MillePedeFileReader.h.

References m_updateBits.

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

◆ exceedsMaxError()

const bool mpPCLresults::exceedsMaxError ( )
inline

Definition at line 53 of file MillePedeFileReader.h.

References m_updateBits.

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

◆ exceedsThresholds()

const bool mpPCLresults::exceedsThresholds ( )
inline

Definition at line 51 of file MillePedeFileReader.h.

References m_updateBits.

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

◆ getDBUpdated()

const bool mpPCLresults::getDBUpdated ( )
inline

Definition at line 49 of file MillePedeFileReader.h.

References m_isDBUpdated.

49 { return m_isDBUpdated; }

◆ getDBVetoed()

const bool mpPCLresults::getDBVetoed ( )
inline

Definition at line 50 of file MillePedeFileReader.h.

References m_isDBUpdateVetoed.

50 { return m_isDBUpdateVetoed; }

◆ getExitCode()

const int mpPCLresults::getExitCode ( )
inline

Definition at line 56 of file MillePedeFileReader.h.

References m_exitCode.

56 { return m_exitCode; }

◆ getExitMessage()

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

Definition at line 57 of file MillePedeFileReader.h.

References m_exitMessage.

57 { return m_exitMessage; }
std::string m_exitMessage

◆ getNRecords()

const int mpPCLresults::getNRecords ( )
inline

Definition at line 55 of file MillePedeFileReader.h.

References m_nRecords.

55 { return m_nRecords; }

◆ isHighGranularity()

const bool mpPCLresults::isHighGranularity ( )
inline

Definition at line 48 of file MillePedeFileReader.h.

References m_isHG.

48 { return m_isHG; }

◆ print()

void mpPCLresults::print ( void  )
inline

Definition at line 59 of file MillePedeFileReader.h.

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

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

Member Data Documentation

◆ m_exitCode

int mpPCLresults::m_exitCode
private

Definition at line 28 of file MillePedeFileReader.h.

Referenced by getExitCode(), and print().

◆ m_exitMessage

std::string mpPCLresults::m_exitMessage
private

Definition at line 29 of file MillePedeFileReader.h.

Referenced by getExitMessage(), and print().

◆ m_isDBUpdated

bool mpPCLresults::m_isDBUpdated
private

Definition at line 25 of file MillePedeFileReader.h.

Referenced by getDBUpdated(), and print().

◆ m_isDBUpdateVetoed

bool mpPCLresults::m_isDBUpdateVetoed
private

Definition at line 26 of file MillePedeFileReader.h.

Referenced by getDBVetoed(), and print().

◆ m_isHG

bool mpPCLresults::m_isHG
private

Definition at line 24 of file MillePedeFileReader.h.

Referenced by isHighGranularity().

◆ m_nRecords

int mpPCLresults::m_nRecords
private

Definition at line 27 of file MillePedeFileReader.h.

Referenced by getNRecords(), and print().

◆ m_updateBits

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