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 ()
 
 mpPCLresults (bool isDBUpdated, bool isDBUpdateVetoed, int nRecords, int exitCode, std::string exitMessage, std::bitset< 4 > updateBits)
 
void print ()
 

Private Attributes

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

Detailed Description

Definition at line 17 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 
)
inline

Definition at line 27 of file MillePedeFileReader.h.

33  : m_isDBUpdated(isDBUpdated),
34  m_isDBUpdateVetoed(isDBUpdateVetoed),
35  m_nRecords(nRecords),
36  m_exitCode(exitCode),
37  m_exitMessage(exitMessage),
std::bitset< 4 > m_updateBits
std::string m_exitMessage

Member Function Documentation

◆ belowSignificance()

const bool mpPCLresults::belowSignificance ( )
inline

Definition at line 45 of file MillePedeFileReader.h.

References m_updateBits.

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

◆ exceedsCutoffs()

const bool mpPCLresults::exceedsCutoffs ( )
inline

Definition at line 43 of file MillePedeFileReader.h.

References m_updateBits.

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

◆ exceedsMaxError()

const bool mpPCLresults::exceedsMaxError ( )
inline

Definition at line 44 of file MillePedeFileReader.h.

References m_updateBits.

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

◆ exceedsThresholds()

const bool mpPCLresults::exceedsThresholds ( )
inline

Definition at line 42 of file MillePedeFileReader.h.

References m_updateBits.

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

◆ getDBUpdated()

const bool mpPCLresults::getDBUpdated ( )
inline

Definition at line 40 of file MillePedeFileReader.h.

References m_isDBUpdated.

40 { return m_isDBUpdated; }

◆ getDBVetoed()

const bool mpPCLresults::getDBVetoed ( )
inline

Definition at line 41 of file MillePedeFileReader.h.

References m_isDBUpdateVetoed.

41 { return m_isDBUpdateVetoed; }

◆ getExitCode()

const int mpPCLresults::getExitCode ( )
inline

Definition at line 47 of file MillePedeFileReader.h.

References m_exitCode.

47 { return m_exitCode; }

◆ getExitMessage()

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

Definition at line 48 of file MillePedeFileReader.h.

References m_exitMessage.

48 { return m_exitMessage; }
std::string m_exitMessage

◆ getNRecords()

const int mpPCLresults::getNRecords ( )
inline

Definition at line 46 of file MillePedeFileReader.h.

References m_nRecords.

46 { return m_nRecords; }

◆ print()

void mpPCLresults::print ( void  )
inline

Definition at line 50 of file MillePedeFileReader.h.

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

50  {
51  edm::LogInfo("MillePedeFileReader") << " is DB updated: " << m_isDBUpdated
52  << " is DB update vetoed: " << m_isDBUpdateVetoed << " nRecords: " << m_nRecords
53  << " exitCode: " << m_exitCode << " (" << m_exitMessage << ")" << std::endl;
54  }
Log< level::Info, false > LogInfo
std::string m_exitMessage

Member Data Documentation

◆ m_exitCode

int mpPCLresults::m_exitCode
private

Definition at line 22 of file MillePedeFileReader.h.

Referenced by getExitCode(), and print().

◆ m_exitMessage

std::string mpPCLresults::m_exitMessage
private

Definition at line 23 of file MillePedeFileReader.h.

Referenced by getExitMessage(), and print().

◆ m_isDBUpdated

bool mpPCLresults::m_isDBUpdated
private

Definition at line 19 of file MillePedeFileReader.h.

Referenced by getDBUpdated(), and print().

◆ m_isDBUpdateVetoed

bool mpPCLresults::m_isDBUpdateVetoed
private

Definition at line 20 of file MillePedeFileReader.h.

Referenced by getDBVetoed(), and print().

◆ m_nRecords

int mpPCLresults::m_nRecords
private

Definition at line 21 of file MillePedeFileReader.h.

Referenced by getNRecords(), and print().

◆ m_updateBits

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