A problem of madanalysis5 when running the c++ program
Hi Benjamin,
When I run the c++ program I wrote, error shows up over and over again:
* 5347/36042024 {�W��|
ERROR: the format of the input file is not supported. The file is skipped.
And when I comment most of my program, error shows up:
ERROR: =======
ERROR: Abnormal termination
ERROR: =======
ERROR:
And piece of my program is:
bool me_2017_
{
/* double myEventWeight;
if(Configurat
else if(event.
else
{
WARNING << "Found one event with a zero weight. Skipping..." << endmsg;
return false;
}
Manager(
*/
//the loop start
if (event.rec()==0) {return true;}
EventFormat myEvent;
myEvent = event;
vector<const RecJetFormat*> SignalJets,
vector<const RecLeptonFormat
vector<const RecJetFormat*> CandidateJets;
vector<const RecLeptonFormat
//the jets candidates
for(unsigned int ij=0; ij<event.
const RecJetFormat * CurrentJet = &(event.
if ( CurrentJet->pt() > 20.0 && abs(CurrentJet-
}
//NBtag Jets
unsigned int NBtag = 0;
for(unsigned int ij=0; ij<event.
const RecJetFormat * CurrentJet = &(event.
if( CurrentJet->pt() > 10.0 && abs(CurrentJet-
NBtag++;
}
}
}
//Lepton trigger-
//Baseline lepton-
for(unsigned int ie=0; ie<event.
{
const RecLeptonFormat * CurrentElectron = &(event.
double pt = CurrentElectron
double abseta = fabs(CurrentEle
if(pt > 10. && (abseta < 1.37 || (abseta > 1.52 && abseta < 2.47)) )
}
for(unsigned int im=0; im<event.
{
const RecLeptonFormat * CurrentMuon = &(event.
double pt = CurrentMuon->pt();
double abseta = fabs(CurrentMuo
if(pt > 10. && abseta < 2.4)
}
//Overlap removal with Non-btag jets
//Signal lepton
for(unsigned int ie=0; ie<BaseElectron
{
const RecLeptonFormat * CurrentElectron = BaseElectrons[ie];
double pt = CurrentElectron
if(pt > 30.)
}
for(unsigned int im=0; im<BaseMuons.
{
const RecLeptonFormat * CurrentMuon = BaseMuons[im];
double pt = CurrentMuon->pt();
if(pt > 30.)
}
//Tight electron criterion
//Medium muons criterion
SignalMuons = PHYSICS-
SignalMuons = PHYSICS-
//1 Signal_Lepton Cutflow
//Signal Jets
for(unsigned int ij=0; ij<CandidateJet
const RecJetFormat * CurrentJet = (CandidateJets[
if ( CurrentJet->pt() > 40.0)
}
for(unsigned int ij=0; ij<Signal40_
const RecJetFormat * CurrentJet = (Signal40_
if ( CurrentJet->pt() > 60.0)
}
for(unsigned int ij=0; ij<Signal60_
const RecJetFormat * CurrentJet = (Signal60_
if ( CurrentJet->pt() > 80.0)
}
//Many kinds of cutflow
if(
if(
if(
if(
if(
if(
if(
if(
if(
if(
if(
if(
Could you tell me where is wrong?
Best~
Wenxing
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: