diff --git a/src/THcShower.h b/src/THcShower.h index 76ae8fd7022d00630bd56c12863d163507036867..04a05797d6377f0b5dfe7bc1e4d2840fc98f0b48 100644 --- a/src/THcShower.h +++ b/src/THcShower.h @@ -86,7 +86,7 @@ public: THcShower(); // for ROOT I/O - protected: +protected: Int_t fAnalyzePedestals; // Flag for pedestal analysis. diff --git a/src/THcShowerHit.h b/src/THcShowerHit.h index f1d93086c42c052ba8c07de1ac9a4169b78fda41..7d31b060593683f807042eb2bd09ff0775927181 100644 --- a/src/THcShowerHit.h +++ b/src/THcShowerHit.h @@ -11,17 +11,17 @@ using namespace std; class THcShowerHit { //HMS calorimeter hit class - private: +private: UInt_t fCol, fRow; //hit colomn and row Double_t fX, fZ; //hit X (vert.) and Z (along spect.axis) coordinates Double_t fE; //hit energy deposition - - public: + +public: THcShowerHit() { //default constructor - fCol=fRow=0; - fX=fZ=0.; - fE=0.; + fCol=fRow=0; + fX=fZ=0.; + fE=0.; } THcShowerHit(UInt_t hRow, UInt_t hCol, Double_t hX, Double_t hZ, diff --git a/src/THcShowerPlane.h b/src/THcShowerPlane.h index 6c0aa5124fc13cfa0cc8c62fc38c44bcec20179d..eb684108c7cea8c8f05ac04d2f86042b57715016 100644 --- a/src/THcShowerPlane.h +++ b/src/THcShowerPlane.h @@ -24,7 +24,7 @@ class THaSignalHit; class THcShowerPlane : public THaSubDetector { - public: +public: THcShowerPlane( const char* name, const char* description, Int_t planenum, THaDetectorBase* parent = NULL); virtual ~THcShowerPlane(); @@ -90,7 +90,7 @@ class THcShowerPlane : public THaSubDetector { return fNegPed[i]; }; - protected: +protected: Double_t* fA_Pos; // [fNelem] ADC amplitudes of blocks Double_t* fA_Neg;