#include <TEcnaParCout.h>
Public Member Functions | |
Int_t | GetCodePrint (const TString) |
void | Init () |
TEcnaParCout (TEcnaObject *) | |
TEcnaParCout () | |
virtual | ~TEcnaParCout () |
Public Attributes | |
Int_t | fCodePrintAllComments |
Int_t | fCodePrintComments |
Int_t | fCodePrintNoComment |
Int_t | fCodePrintWarnings |
Int_t | fFlagPrint |
Private Attributes | |
Int_t | fCdelete |
Int_t | fCnaCommand |
Int_t | fCnaError |
Int_t | fCnew |
Int_t | fgMaxCar |
TString | fTTBELL |
----------------------------------------------------------- TEcnaParCout.h Update: 16/02/2011 Author: B.Fabbro (bernard.fabbro@cea.fr) DSM/IRFU/SPP CEA-Saclay Copyright: Those valid for CEA sofware
ECNA web page: https://cms-fabbro.web.cern.ch/cms-fabbro/ cna_new/Correlated_Noise_Analysis/ECNA_cna_1.htm -----------------------------------------------------------
Definition at line 25 of file TEcnaParCout.h.
TEcnaParCout::TEcnaParCout | ( | ) |
Definition at line 27 of file TEcnaParCout.cc.
References Init().
{ // Constructor without argument // cout << "[Info Management] CLASS: TEcnaParCout. CREATE OBJECT: this = " << this << endl; Init(); }
TEcnaParCout::TEcnaParCout | ( | TEcnaObject * | pObjectManager | ) |
Definition at line 36 of file TEcnaParCout.cc.
References Init(), and TEcnaObject::RegisterPointer().
{ // Constructor with argument // cout << "[Info Management] CLASS: TEcnaParCout. CREATE OBJECT: this = " << this << endl; Init(); Long_t i_this = (Long_t)this; pObjectManager->RegisterPointer("TEcnaParCout", i_this); }
virtual TEcnaParCout::~TEcnaParCout | ( | ) | [virtual] |
Int_t TEcnaParCout::GetCodePrint | ( | const TString | chcode | ) |
Definition at line 70 of file TEcnaParCout.cc.
Referenced by TEcnaRun::Init(), TEcnaWrite::Init(), TEcnaRead::Init(), and Init().
{ //Get the CodePrint values Int_t code_print = 101; // => default: print warnings // The values must be different if( chcode == "NoComment" ){code_print = 100;} if( chcode == "Warnings" ){code_print = 101;} // => default if( chcode == "Comments" ){code_print = 102;} if( chcode == "AllComments" ){code_print = 103;} return code_print; }
void TEcnaParCout::Init | ( | void | ) |
Definition at line 47 of file TEcnaParCout.cc.
References fCnaCommand, fCnaError, fCodePrintAllComments, fCodePrintComments, fCodePrintNoComment, fCodePrintWarnings, fFlagPrint, fgMaxCar, fTTBELL, and GetCodePrint().
Referenced by TEcnaParCout().
{ fgMaxCar = (Int_t)512; // max number of characters in TStrings fTTBELL = '\007'; //................................................... Code Print fCodePrintNoComment = GetCodePrint("NoComment"); fCodePrintWarnings = GetCodePrint("Warnings "); // => default fCodePrintComments = GetCodePrint("Comments"); fCodePrintAllComments = GetCodePrint("AllComments"); fFlagPrint = fCodePrintWarnings; //................ Init CNA Command and error numbering fCnaCommand = 0; fCnaError = 0; }// end of Init()
Int_t TEcnaParCout::fCdelete [private] |
Definition at line 31 of file TEcnaParCout.h.
Int_t TEcnaParCout::fCnaCommand [private] |
Definition at line 33 of file TEcnaParCout.h.
Referenced by Init().
Int_t TEcnaParCout::fCnaError [private] |
Definition at line 33 of file TEcnaParCout.h.
Referenced by Init().
Int_t TEcnaParCout::fCnew [private] |
Definition at line 31 of file TEcnaParCout.h.
Definition at line 39 of file TEcnaParCout.h.
Referenced by Init().
Definition at line 39 of file TEcnaParCout.h.
Referenced by Init().
Definition at line 39 of file TEcnaParCout.h.
Referenced by Init().
Definition at line 39 of file TEcnaParCout.h.
Referenced by Init().
Int_t TEcnaParCout::fFlagPrint |
Definition at line 38 of file TEcnaParCout.h.
Referenced by Init().
Int_t TEcnaParCout::fgMaxCar [private] |
Definition at line 30 of file TEcnaParCout.h.
Referenced by Init().
TString TEcnaParCout::fTTBELL [private] |
Definition at line 32 of file TEcnaParCout.h.
Referenced by Init().