Changeset 2850 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 01/19/04 17:19:56 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.cc
r2821 r2850 65 65 using namespace std; 66 66 67 // 68 // default constructor 69 // 67 70 MPedCalcPedRun::MPedCalcPedRun(const char *name, const char *title) 68 71 { … … 74 77 } 75 78 79 // -------------------------------------------------------------------------- 80 // 81 // Look for the following input containers: 82 // 83 // - MRawEvtData 84 // 85 // The following output containers are also searched and created if 86 // they were not found: 87 // 88 // - MPedestalCam 89 // 76 90 Int_t MPedCalcPedRun::PreProcess( MParList *pList ) 77 91 { … … 92 106 } 93 107 108 // -------------------------------------------------------------------------- 109 // 110 // The ReInit searches for the following input containers: 111 // - MRawRunHeader 112 // 113 // It also initializes the data arrays fSumx and fSumx2 114 // (only for the first read file) 115 // 94 116 Bool_t MPedCalcPedRun::ReInit(MParList *pList) 95 117 { … … 122 144 return kTRUE; 123 145 } 124 146 // -------------------------------------------------------------------------- 147 // 148 // Fill the MPedestalCam container with the signal mean and rms for the event. 149 // Store the measured signal in arrays fSumx and fSumx2 so that we can 150 // calculate the overall mean and rms in the PostProcess() 151 // 125 152 Int_t MPedCalcPedRun::Process() 126 153 { … … 161 188 } 162 189 190 // -------------------------------------------------------------------------- 191 // 192 // Compute signal mean and rms in the whole run and store it in MPedestalCam 193 // 163 194 Int_t MPedCalcPedRun::PostProcess() 164 195 { -
trunk/MagicSoft/Mars/manalysis/MPedPhotCalc.cc
r2848 r2850 59 59 using namespace std; 60 60 61 // 62 // Default constructor 63 // 61 64 MPedPhotCalc::MPedPhotCalc(const char *name, const char *title) 62 65 { … … 65 68 } 66 69 70 // -------------------------------------------------------------------------- 71 // 72 // Look for the following input containers: 73 // 74 // - MCerPhotEvt 75 // 76 // The following output containers are also searched and created if 77 // they were not found: 78 // 79 // - MPedPhotCam 80 // 67 81 Int_t MPedPhotCalc::PreProcess( MParList *pList ) 68 82 { … … 83 97 } 84 98 99 // -------------------------------------------------------------------------- 100 // 101 // The ReInit searches for the following input containers: 102 // - MRawRunHeader 103 // 104 // It also initializes the data arrays fSumx and fSumx2 105 // (only for the first read file) 106 // 85 107 Bool_t MPedPhotCalc::ReInit(MParList *pList) 86 108 { … … 111 133 } 112 134 135 // -------------------------------------------------------------------------- 136 // 137 // Store the measured number of photons in arrays fSumx and fSumx2 138 // so that we can calculate the mean and rms in the PostProcess() 139 // 113 140 Int_t MPedPhotCalc::Process() 114 141 { … … 129 156 } 130 157 158 // -------------------------------------------------------------------------- 159 // 160 // Compute mean and rms of the measured charge distribution (in photons) 161 // 131 162 Int_t MPedPhotCalc::PostProcess() 132 163 {
Note:
See TracChangeset
for help on using the changeset viewer.