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),
38  m_updateBits(updateBits) {}

Member Function Documentation

◆ belowSignificance()

const bool mpPCLresults::belowSignificance ( )
inline

Definition at line 45 of file MillePedeFileReader.h.

45 { return m_updateBits.test(3); }

References m_updateBits.

◆ exceedsCutoffs()

const bool mpPCLresults::exceedsCutoffs ( )
inline

Definition at line 43 of file MillePedeFileReader.h.

43 { return m_updateBits.test(1); }

References m_updateBits.

◆ exceedsMaxError()

const bool mpPCLresults::exceedsMaxError ( )
inline

Definition at line 44 of file MillePedeFileReader.h.

44 { return m_updateBits.test(2); }

References m_updateBits.

◆ exceedsThresholds()

const bool mpPCLresults::exceedsThresholds ( )
inline

Definition at line 42 of file MillePedeFileReader.h.

42 { return m_updateBits.test(0); }

References m_updateBits.

◆ getDBUpdated()

const bool mpPCLresults::getDBUpdated ( )
inline

Definition at line 40 of file MillePedeFileReader.h.

40 { return m_isDBUpdated; }

References m_isDBUpdated.

◆ getDBVetoed()

const bool mpPCLresults::getDBVetoed ( )
inline

Definition at line 41 of file MillePedeFileReader.h.

41 { return m_isDBUpdateVetoed; }

References m_isDBUpdateVetoed.

◆ getExitCode()

const int mpPCLresults::getExitCode ( )
inline

Definition at line 47 of file MillePedeFileReader.h.

47 { return m_exitCode; }

References m_exitCode.

◆ getExitMessage()

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

Definition at line 48 of file MillePedeFileReader.h.

48 { return m_exitMessage; }

References m_exitMessage.

◆ getNRecords()

const int mpPCLresults::getNRecords ( )
inline

Definition at line 46 of file MillePedeFileReader.h.

46 { return m_nRecords; }

References m_nRecords.

◆ print()

void mpPCLresults::print ( void  )
inline

Definition at line 50 of file MillePedeFileReader.h.

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  }

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

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
mpPCLresults::m_isDBUpdateVetoed
bool m_isDBUpdateVetoed
Definition: MillePedeFileReader.h:20
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
mpPCLresults::m_isDBUpdated
bool m_isDBUpdated
Definition: MillePedeFileReader.h:19
mpPCLresults::m_updateBits
std::bitset< 4 > m_updateBits
Definition: MillePedeFileReader.h:24
mpPCLresults::m_exitMessage
std::string m_exitMessage
Definition: MillePedeFileReader.h:23
mpPCLresults::m_nRecords
int m_nRecords
Definition: MillePedeFileReader.h:21
mpPCLresults::m_exitCode
int m_exitCode
Definition: MillePedeFileReader.h:22