From bef861692ddbee01b8706cb3c5f6e8ef3d375fd0 Mon Sep 17 00:00:00 2001 From: morsch Date: Tue, 5 Jan 2010 09:52:51 +0000 Subject: [PATCH] Herwig event header. --- STEER/AliGenHerwigEventHeader.cxx | 35 +++++++++++++++++++++++++++++++ STEER/AliGenHerwigEventHeader.h | 30 ++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 STEER/AliGenHerwigEventHeader.cxx create mode 100644 STEER/AliGenHerwigEventHeader.h diff --git a/STEER/AliGenHerwigEventHeader.cxx b/STEER/AliGenHerwigEventHeader.cxx new file mode 100644 index 00000000000..6b1f5bbcd99 --- /dev/null +++ b/STEER/AliGenHerwigEventHeader.cxx @@ -0,0 +1,35 @@ +/************************************************************************** + * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * * + * Author: The ALICE Off-line Project. * + * Contributors are mentioned in the code where appropriate. * + * * + * Permission to use, copy, modify and distribute this software and its * + * documentation strictly for non-commercial purposes is hereby granted * + * without fee, provided that the above copyright notice appears in all * + * copies and that both the copyright notice and this permission notice * + * appear in the supporting documentation. The authors make no claims * + * about the suitability of this software for any purpose. It is * + * provided "as is" without express or implied warranty. * + **************************************************************************/ + +/* $Id$ */ + +#include "AliGenHerwigEventHeader.h" +ClassImp(AliGenHerwigEventHeader) + + +AliGenHerwigEventHeader::AliGenHerwigEventHeader(): + fProcessType(0), + fTrials(0) +{ +// Default Constructor +} + +AliGenHerwigEventHeader::AliGenHerwigEventHeader(const char* name): + AliGenEventHeader(name), + fProcessType(0), + fTrials(0) +{ +// Constructor +} diff --git a/STEER/AliGenHerwigEventHeader.h b/STEER/AliGenHerwigEventHeader.h new file mode 100644 index 00000000000..64c25a54b71 --- /dev/null +++ b/STEER/AliGenHerwigEventHeader.h @@ -0,0 +1,30 @@ +#ifndef ALIGENHERWIGEVENTHEADER_H +#define ALIGENHERWIGEVENTHEADER_H + +/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * See cxx source for full Copyright notice */ + +/* $Id$ */ + +#include "AliGenEventHeader.h" + + +class AliGenHerwigEventHeader : public AliGenEventHeader +{ + public: + AliGenHerwigEventHeader(); + AliGenHerwigEventHeader(const char* name); + virtual ~AliGenHerwigEventHeader() {} + Int_t ProcessType() {return fProcessType;} + void SetProcessType(Int_t type) {fProcessType = type;} + Int_t Trials() {return fTrials;} + void SetTrials(Int_t trials) {fTrials = trials;} +protected: + Int_t fProcessType; // HERWIG process id for this event + Int_t fTrials; // Number of trials to fulfill trigger condition + ClassDef(AliGenHerwigEventHeader, 1) // Event header for Herwig event +}; + + + +#endif -- 2.43.0