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
functions.h
Go to the documentation of this file.
1 
10 #ifndef INCLUDE_EICSMEAR_FUNCTIONS_H_
11 #define INCLUDE_EICSMEAR_FUNCTIONS_H_
12 
13 #include <string>
14 
15 #include <Rtypes.h>
16 #include <TString.h>
17 
18 #include "eicsmear/smear/Smear.h"
20 
21 class TLorentzVector;
22 
23 namespace erhic {
24  class EventMC;
25  class VirtualEventFactory;
26 }
27 
34 char getFirstNonBlank(const std::string&);
35 
45 double computeHermesPhiH(const TLorentzVector& hadronInPrf,
46  const TLorentzVector& leptonInPrf,
47  const TLorentzVector& photonInPrf);
48 
49 // Forward declarations of functions for which we wish to build dictionaries
50 // using rootcint
51 
56 Long64_t BuildTree(const TString& inputFileName,
57  const TString& outputDirName = ".",
58  const Long64_t maxEvent = 0,
59  const std::string& logFileName = "");
60 
64 class EventToDot {
65  public:
69  virtual ~EventToDot() { }
70 
74  void Generate(const erhic::EventMC&, const std::string& outputName) const;
75 
76  ClassDef(EventToDot, 0)
77 };
78 
79 #endif // INCLUDE_EICSMEAR_FUNCTIONS_H_
double computeHermesPhiH(const TLorentzVector &hadronInPrf, const TLorentzVector &leptonInPrf, const TLorentzVector &photonInPrf)
Definition: functions.cxx:52
virtual ~EventToDot()
Definition: functions.h:69
char getFirstNonBlank(const std::string &)
Definition: functions.cxx:31
Long64_t BuildTree(const TString &inputFileName, const TString &outputDirName=".", const Long64_t maxEvent=0, const std::string &logFileName="")
Definition: BuildTree.cxx:25
void Generate(const erhic::EventMC &, const std::string &outputName) const
Definition: functions.cxx:92