Changeset 19266 for trunk/Mars/fact/analysis
- Timestamp:
- 10/22/18 20:50:24 (6 years ago)
- Location:
- trunk/Mars/fact/analysis
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/analysis/callisto_data.C
r18577 r19266 75 75 // Extraction type: Extract integral and half leading edge 76 76 77 const int type = maximum ? (MExtralgoSpline::kIntegralRel) : (MExtralgoSpline::kIntegralFixed);77 const MExtralgoSpline::ExtractionType_t type = maximum ? (MExtralgoSpline::kIntegralRel) : (MExtralgoSpline::kIntegralFixed); 78 78 //const int type = MExtralgoSpline::kIntegralFixed; 79 79 … … 355 355 fill5ped.SetFilter(&filterped); 356 356 357 MHCamEvent evt5b(0, "ExtSig", "Extracted signal;;S [mV ·sl]");357 MHCamEvent evt5b(0, "ExtSig", "Extracted signal;;S [mV#dot sl]"); 358 358 MHCamEvent evt5c(0, "CalSig", "Calibrated and interpolated signal;;S [~phe]"); 359 359 MHCamEvent evt5d(4, "ExtSigTm", "Extracted time;;T [sl]"); … … 458 458 // ============================================================ 459 459 460 TFile *ofile = gROOT->GetListOfFiles()->FindObject(fname);460 TFile *ofile = (TFile*)gROOT->GetListOfFiles()->FindObject(fname); 461 461 if (!ofile || !ofile->IsOpen() || ofile->IsZombie()) 462 462 { -
trunk/Mars/fact/analysis/mc/callisto_data.C
r18579 r19266 5 5 #include "MLogManip.h" 6 6 7 #if !defined(__CINT__) || defined(__MAKECINT__)7 #if (!defined(__CINT__) && !defined(__CLING__)) || defined(__MAKECINT__) 8 8 9 9 #include "TH1F.h" … … 285 285 treat5.SetProcessPedestalEvt(kFALSE); 286 286 287 MHCamEvent evt5b(0, "ExtSig", "Extracted signal;;S [mV ·sl]");287 MHCamEvent evt5b(0, "ExtSig", "Extracted signal;;S [mV#dot sl]"); 288 288 MHCamEvent evt5c(0, "CalSig", "Calibrated and interpolated signal;;S [~phe]"); 289 289 MHCamEvent evt5d(4, "ExtSigTm", "Extracted time;;T [sl]"); -
trunk/Mars/fact/analysis/mc/ganymed.C
r17733 r19266 1 void SetupWriter(MWriteRootFile *write, const char *name, Bool_t ismc) const1 void SetupWriter(MWriteRootFile *write, const char *name, Bool_t ismc) 2 2 { 3 3 if (!write) … … 153 153 scale.SetVal(1./fNumOffSourcePos); 154 154 155 MHThetaSq *halphaoff = plist.FindCreateObj("MHThetaSq", "HistOff");155 MHThetaSq *halphaoff = (MHThetaSq*)plist.FindCreateObj("MHThetaSq", "HistOff"); 156 156 halphaoff->ForceUsingSize(); 157 157 … … 385 385 fill3d.SetFilter(&ftheta); 386 386 387 MHThetaSq *halphaon = plist.FindCreateObj("MHThetaSq", "Hist");387 MHThetaSq *halphaon = (MHThetaSq*)plist.FindCreateObj("MHThetaSq", "Hist"); 388 388 halphaon->ForceUsingSize(); 389 389 -
trunk/Mars/fact/analysis/mc/star.C
r17871 r19266 5 5 #include "MLogManip.h" 6 6 7 #if !defined(__CINT__) || defined(__MAKECINT__) 7 #if (!defined(__CINT__) && !defined(__CLING__)) || defined(__MAKECINT__) 8 9 #error test1 8 10 9 11 #include "TH1F.h" … … 212 214 213 215 MH3 hrate("MRawRunHeader.GetFileID"/*, "MRawEvtHeader.GetTriggerID"*/); 214 hrate.SetWeight("1./TMath::Max(MRawRunHeader.GetRunLength,1 )");216 hrate.SetWeight("1./TMath::Max(MRawRunHeader.GetRunLength,1.)"); 215 217 hrate.SetName("Rate"); 216 218 hrate.SetTitle("Event rate after cleaning;File Id;Event Rate [Hz];"); -
trunk/Mars/fact/analysis/merpp.C
r17885 r19266 13 13 14 14 MRawRunHeader *h = NULL; 15 TTree *tree = file.Get("RunHeaders");15 TTree *tree = (TTree*)file.Get("RunHeaders"); 16 16 if (!tree) 17 17 { … … 125 125 126 126 TString file = Form("/scratch/fact/sequences/%04d/%02d/%02d/%06d_%03d.seq", 127 night/10000, (night/100)%100, night%100, n um);127 night/10000, (night/100)%100, night%100, night, num); 128 128 129 129 return merpp(file.Data(), path); -
trunk/Mars/fact/analysis/merpp_file.C
r18077 r19266 1 1 #include "MLogManip.h" 2 2 3 void merpp(TString &froot, const char *id, const char *faux)3 void merpp(TString froot, const char *id, const char *faux) 4 4 { 5 5 gLog.Separator(froot+" - "+TString(id)); … … 13 13 14 14 MRawRunHeader *h = NULL; 15 TTree *tree = file.Get("RunHeaders");15 TTree *tree = (TTree*)file.Get("RunHeaders"); 16 16 if (!tree) 17 17 { -
trunk/Mars/fact/analysis/star_file.C
r18578 r19266 277 277 // ============================================================ 278 278 279 TFile *ofile = gROOT->GetListOfFiles()->FindObject(fname);279 TFile *ofile = (TFile*)gROOT->GetListOfFiles()->FindObject(fname); 280 280 if (!ofile || !ofile->IsOpen() || ofile->IsZombie()) 281 281 {
Note:
See TracChangeset
for help on using the changeset viewer.