Changeset 5874
- Timestamp:
- 01/17/05 15:19:54 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r5872 r5874 934 934 { 935 935 936 if ( !fExtractor->InheritsFrom("MExtractTimeAndCharge"))936 if (fExtractor->InheritsFrom("MExtractTimeAndCharge")) 937 937 { 938 938 … … 941 941 pedcalc.SetExtractWindow((Int_t)f, win); 942 942 pedlogain.SetExtractWindow((Int_t)(15+f), win); 943 944 } 945 else 946 { 947 const Float_t f = 0.5+fExtractor->GetHiGainFirst(); 948 const Float_t n = 0.5+fExtractor->GetNumHiGainSamples(); 949 pedcalc.SetExtractWindow((Int_t)f, (Int_t)n); 950 pedlogain.SetExtractWindow((Int_t)(15+f), (Int_t)n); 943 951 944 952 if (fExtractionType!=kFundamental) … … 949 957 fExtractionType=kFundamental; 950 958 } 951 }952 else953 {954 const Float_t f = 0.5+fExtractor->GetHiGainFirst();955 const Float_t n = 0.5+fExtractor->GetNumHiGainSamples();956 pedcalc.SetExtractWindow((Int_t)f, (Int_t)n);957 pedlogain.SetExtractWindow((Int_t)(15+f), (Int_t)n);958 959 } 959 960
Note:
See TracChangeset
for help on using the changeset viewer.