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

Definition at line 27 of file MillePedeFileReader.h.

Referenced by MillePedeFileReader::getResults().

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

Member Function Documentation

const bool mpPCLresults::belowSignificance ( )
inline

Definition at line 45 of file MillePedeFileReader.h.

45 { return m_updateBits.test(3); }
std::bitset< 4 > m_updateBits
const bool mpPCLresults::exceedsCutoffs ( )
inline

Definition at line 43 of file MillePedeFileReader.h.

43 { return m_updateBits.test(1); }
std::bitset< 4 > m_updateBits
const bool mpPCLresults::exceedsMaxError ( )
inline

Definition at line 44 of file MillePedeFileReader.h.

44 { return m_updateBits.test(2); }
std::bitset< 4 > m_updateBits
const bool mpPCLresults::exceedsThresholds ( )
inline

Definition at line 42 of file MillePedeFileReader.h.

42 { return m_updateBits.test(0); }
std::bitset< 4 > m_updateBits
const bool mpPCLresults::getDBUpdated ( )
inline

Definition at line 40 of file MillePedeFileReader.h.

References m_isDBUpdated.

40 { return m_isDBUpdated; }
const bool mpPCLresults::getDBVetoed ( )
inline

Definition at line 41 of file MillePedeFileReader.h.

References m_isDBUpdateVetoed.

41 { return m_isDBUpdateVetoed; }
const int mpPCLresults::getExitCode ( )
inline

Definition at line 47 of file MillePedeFileReader.h.

References m_exitCode.

47 { return m_exitCode; }
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
const int mpPCLresults::getNRecords ( )
inline

Definition at line 46 of file MillePedeFileReader.h.

References m_nRecords.

46 { return m_nRecords; }
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  }
std::string m_exitMessage

Member Data Documentation

int mpPCLresults::m_exitCode
private

Definition at line 22 of file MillePedeFileReader.h.

Referenced by getExitCode().

std::string mpPCLresults::m_exitMessage
private

Definition at line 23 of file MillePedeFileReader.h.

Referenced by getExitMessage().

bool mpPCLresults::m_isDBUpdated
private

Definition at line 19 of file MillePedeFileReader.h.

Referenced by getDBUpdated().

bool mpPCLresults::m_isDBUpdateVetoed
private

Definition at line 20 of file MillePedeFileReader.h.

Referenced by getDBVetoed().

int mpPCLresults::m_nRecords
private

Definition at line 21 of file MillePedeFileReader.h.

Referenced by getNRecords().

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

Definition at line 24 of file MillePedeFileReader.h.