Changeset 2754 for trunk/MagicSoft/Mars
- Timestamp:
- 01/06/04 17:42:21 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MArrivalTime.cc
r2752 r2754 92 92 ptr2[i]=(Double_t)ptr[i]; 93 93 TSpline5 *spline = new TSpline5("spline",(Double_t) 0,(Double_t)(nSlice - 1),ptr2,nSlice); 94 //Now find the maximum evaluating the spline function at every 1/10 time slice 94 95 Double_t abscissa=0.0; 95 96 Double_t maxAb=0.0; … … 119 120 ptr2[i]=(Double_t)ptr[i]; 120 121 TSpline5 *spline = new TSpline5("spline",(Double_t) 0,(Double_t)(nSlice - 1),ptr2,nSlice); 122 //Now find the maximum evaluating the spline function at every 1/10 time slice 121 123 Double_t abscissa=0.0; 122 124 Double_t maxAb=0.0; -
trunk/MagicSoft/Mars/mhist/MHEvent.cc
r2659 r2754 149 149 fHist->SetYTitle("L"); 150 150 break; 151 case kEvtIdxMax: 152 fHist->SetName("Max Slice Idx"); 153 fHist->SetYTitle("t [slice id]"); 154 fHist->SetPrettyPalette(); 155 break; 151 156 case kEvtArrTime: 152 157 fHist->SetName("Arrival Time"); … … 191 196 } 192 197 break; 198 case kEvtIdxMax: 199 fHist->SetCamContent(*(MCamEvent*)par, 5); 200 break; 193 201 case kEvtArrTime: 194 fHist->SetCamContent(*(MCamEvent*)par, 5); 195 break; 196 202 fHist->SetCamContent(*(MCamEvent*)par, 0); 203 break; 197 204 } 198 205 -
trunk/MagicSoft/Mars/mhist/MHEvent.h
r2656 r2754 23 23 kEvtSignal, kEvtPedestal, kEvtPedestalRMS, 24 24 kEvtRelativeSignal, kEvtCleaningLevels, 25 kEvt ArrTime25 kEvtIdxMax, kEvtArrTime 26 26 }; 27 27 -
trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
r2728 r2754 81 81 #include "MHCamera.h" // MHCamera 82 82 #include "MRawEvtData.h" // MRawEvtData 83 //#include "MArrivalTime.h" // MArrivalTime83 #include "MArrivalTime.h" // MArrivalTime 84 84 85 85 … … 162 162 MHEvent *evt5 = new MHEvent(MHEvent::kEvtRelativeSignal); 163 163 MHEvent *evt6 = new MHEvent(MHEvent::kEvtCleaningLevels); 164 MHEvent *evt7 = new MHEvent(MHEvent::kEvtArrTime); 164 MHEvent *evt7 = new MHEvent(MHEvent::kEvtIdxMax); 165 MHEvent *evt8 = new MHEvent(MHEvent::kEvtArrTime); 165 166 166 167 evt1->SetName("Signal"); … … 170 171 evt5->SetName("Signal/PedRMS"); 171 172 evt6->SetName("CleanLevels"); 172 evt7->SetName("ArrivalTime"); 173 evt7->SetName("Max Slice Idx"); 174 evt8->SetName("Arrival Time"); 173 175 174 176 plist->AddToList(evt1); … … 179 181 plist->AddToList(evt6); 180 182 plist->AddToList(evt7); 183 plist->AddToList(evt8); 181 184 182 185 … … 197 200 MArrivalTimeCalc *tcalc = new MArrivalTimeCalc; 198 201 MFillH *fill7 = new MFillH(evt7, "MRawEvtData", "MFillH7"); 199 202 MFillH *fill8 = new MFillH(evt8, "MArrivalTime", "MFillH8"); 200 203 201 204 MFilter *f1=new MFDataMember("MRawRunHeader.fRunType", '>', 255.5); … … 223 226 tlist->AddToList(tcalc); 224 227 tlist->AddToList(fill7); 228 tlist->AddToList(fill8); 225 229 226 230
Note:
See TracChangeset
for help on using the changeset viewer.