virtual ~TEpEmGen();
void Initialize (Double_t ymin, Double_t ymax, Double_t ptmin, Double_t ptmax);
+#if ROOT_VERSION_CODE >= 330500 // Root 5.11/04
+ void GenerateEvent() {TGenerator::GenerateEvent();};
+#endif
void GenerateEvent (Double_t ymin, Double_t ymax, Double_t ptmin, Double_t ptmax,
Double_t &yElectron, Double_t &yPositron,
Double_t &xElectron, Double_t &xPositron,
}
/*****************************************************************************************/
+#if ROOT_VERSION_CODE <= ROOT_VERSION(5,11,2)
void THBTprocessor::GenerateEvent() const
+#else
+void THBTprocessor::GenerateEvent()
+#endif
{
//Starts processing
// see there for more description
//
+#include <RVersion.h>
#include <TGenerator.h>
class THBTprocessor: public TGenerator
virtual ~THBTprocessor() {};
virtual void Initialize() const;
+#if ROOT_VERSION_CODE <= 330498 // Root 5.11/02
virtual void GenerateEvent() const;
+#else
+ virtual void GenerateEvent();
+#endif
virtual void PrintEvent() const;
virtual Int_t ImportParticles(TClonesArray *particles, Option_t *option="");
virtual TObjArray *ImportParticles(Option_t *option="");