Skip to content

Commit

Permalink
Merge pull request #237 from PADME-Experiment/bugfix/compile-PadmeRec…
Browse files Browse the repository at this point in the history
…o-GG

Fixes #236
  • Loading branch information
georgievgeorgi authored Dec 12, 2021
2 parents 3675c50 + 9fe3f3c commit 9c0e826
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PadmeReco/ECal/src/DigitizerChannelECal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void DigitizerChannelECal::Init(GlobalRecoConfigOptions *gOptions,
//take the template from the external file for MH reconstruction (the template is extended up to 5k ns using an exponential)
for(int i=0; i<5000; i++) fTemplate[i]=0.;
if (fMultihit) {
ifstream myfile;
std::ifstream myfile;
//std::string templateFileName = "./config/BGOwaveformTemplate.txt";
//std::cout<<"DigitizerChannelECal: reading BGO waveform template from file <"<<templateFileName<<"> "<<std::endl;
//myfile.open (templateFileName.c_str());;
Expand Down
2 changes: 1 addition & 1 deletion PadmeReco/ECal/src/ECalReconstruction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ void ECalReconstruction::ConvertMCDigitsToRecoHitsWave(TMCVEvent* tEvent,TMCEven
Double_t sigmaPed=21.66;
Double_t fAvg200=r->Gaus(meanPed, sigmaPed); // pedestal
std::vector<double> waveLikeData;
Short_t wave_forDigitiser[1024]={0.};
Short_t wave_forDigitiser[1024]={0};
Bool_t saturated=false;
for(int i=0; i<1025; i++)waveLikeData.push_back(0);
for(int ll=0;ll<1024;ll++){
Expand Down
2 changes: 2 additions & 0 deletions PadmeReco/PadmeReco.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include "RecoRootIOManager.hh"
#include "PadmePerfUtils.hh"

#include <TObjString.h>


PadmeReconstruction* PadmeReco;

Expand Down
2 changes: 2 additions & 0 deletions PadmeReco/src/PadmeReconstruction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@

#include "RecoRootIOManager.hh"

#include <TObjString.h>

PadmeReconstruction::PadmeReconstruction(TObjArray* InputFileNameList, TString ConfFileName, TFile* OutputFile, Int_t NEvt, UInt_t Seed) :
PadmeVReconstruction(OutputFile,"Padme",ConfFileName),fInputFileNameList(InputFileNameList), fHistoFile(OutputFile)
{
Expand Down

0 comments on commit 9c0e826

Please sign in to comment.