eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
|
Go to the documentation of this file.
10 #ifndef INCLUDE_EICSMEAR_FUNCTIONS_H_
11 #define INCLUDE_EICSMEAR_FUNCTIONS_H_
25 class VirtualEventFactory;
46 const TLorentzVector& leptonInPrf,
47 const TLorentzVector& photonInPrf);
56 Long64_t
BuildTree(
const TString& inputFileName,
57 const TString& outputDirName =
".",
58 const Long64_t maxEvent = 0,
59 const std::string& logFileName =
"");
79 #endif // INCLUDE_EICSMEAR_FUNCTIONS_H_
Long64_t BuildTree(const TString &inputFileName, const TString &outputDirName=".", const Long64_t maxEvent=0, const std::string &logFileName="")
This is an example function to generate ROOT files.
virtual ~EventToDot()
Destructor.
void Generate(const erhic::EventMC &, const std::string &outputName) const
Write a DOT file describing an event.
double computeHermesPhiH(const TLorentzVector &hadronInPrf, const TLorentzVector &leptonInPrf, const TLorentzVector &photonInPrf)
Calculate the hadron azimuthal angle around the virtual photon direction with respect to the lepton s...
Produces a DOT file describing the particle content of the event.
char getFirstNonBlank(const std::string &)
Returns the first non-blank character in a line.
Abstract base class for DIS Monte Carlo events.