File is not supported- Expert Mode
Dear Experts,
I tried to reproduce the example of arxiv/1405.3982 for the muon isolation with my own muons.lhco file. So, I write the user.cpp as follows,
#include "SampleAnalyzer
using namespace MA5;
using namespace std;
-----
// Initialize
// function called one time at the beginning of the analysis
// -------
bool Higgs::
{
// Initializing PhysicsService for MC
// PHYSICS-
// Initializing PhysicsService for RECO
PHYSICS-
cout << "BEGIN Initialization" << endl;
// initialize variables, histos
// Manager(
// Manager(
cout << "END Initialization" << endl;
return true;
}
// -------
// Finalize
// function called one time at the end of the analysis
// -------
void Higgs::
{
cout << "BEGIN Finalization" << endl;
// saving histos
cout << "END Finalization" << endl;
}
// -------
// Execute
// function called each time one event is read
// -------
bool Higgs::
{
// *******
// Example of analysis with reconstructed objects
// Concerned samples :
// - LHCO samples
// - LHE/STDHEP/HEPMC samples after applying jet-clustering algorithm
// *******
if (event.rec()!=0)
{
std:
for(unsigned int i=0;i<event.
{
const RecLeptonFormat *Muon = &event.
for(unsigned int j=0; j<Muon-
{
const IsolationConeType *cone = &Muon->
if(
{
if(cone-
MyMuons.
}
}
}
}
return true;
}
In the user.h I just write the following,
#ifndef analysis_Higgs_h
#define analysis_Higgs_h
#include "SampleAnalyzer
namespace MA5
{
class Higgs : public AnalyzerBase
{
INIT_
public:
virtual bool Initialize(const MA5::Configuration& cfg, const std::map<
virtual void Finalize(const SampleFormat& summary, const std::vector<
virtual bool Execute(
private:
// Declaring histogram array
PlotManager plots_;
// Declaring cut array
CounterManager cuts_;
// Declaring shortcut to histograms
Histo* ptep;
std::vector<const RecParticleFormat*> MyMuons;
};
}
#endif
So, when I try to make the run as ./MadAnalysis5job ~/Documents/
.
.
.
ERROR: the format of the input file is not supported. The file is skipped.
* 41244/41246 1
ERROR: the format of the input file is not supported. The file is skipped.
* 41245/41246 2
ERROR: the format of the input file is not supported. The file is skipped.
* 41246/41246 3
ERROR: the format of the input file is not supported. The file is skipped.
.
.
.
* Finalizing all components ...
* Total number of processed events: 0.
BEGIN Finalization
END Finalization
* Goodbye.
I forget to write-modify something?
Thanks in advance for the help!
daniel.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask daniel camargo for more information if necessary.