try to fix coverity 24179, 24178, 24125, 24124, check cast to pointers not being...
[u/mrichter/AliRoot.git] / STARLIGHT / AliGenStarLightEventHeader.h
CommitLineData
da32329d
AM
1#ifndef ALIGENSTARLIGHTEVENTHEADER_H
2#define ALIGENSTARLIGHTEVENTHEADER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id: $ */
7
8// Event Header for the STARlight generator.
9// Author: Christoph.Mayer@cern.ch, Bjorn.Nilsen@cern.ch
10
11//- Root Includes
12
13//- AliRoot Includes
14#include <AliGenEventHeader.h>
15
16#include "inputParameters.h"
17
18class AliGenStarLightEventHeader : public AliGenEventHeader {
19 public:
20 AliGenStarLightEventHeader();
21
22 AliGenStarLightEventHeader(const char *name);
23
24 virtual ~AliGenStarLightEventHeader() {}
25
26 Int_t Trials() const { return fTrials; }
27 const inputParameters* GetInputParameters() const { return fInputParameters; }
28
29 void SetTrials(Int_t trials) {
30 fTrials = trials;
31 }
32 void SetInputParameters(inputParameters* ips) {
33 fInputParameters = ips;
34 }
35
36 protected:
37 Int_t fTrials; // Number of trials to fofill trgger conditions
38 inputParameters* fInputParameters; // StarLight configuration
39
40 private:
41 AliGenStarLightEventHeader(const AliGenStarLightEventHeader &s);
42 AliGenStarLightEventHeader& operator=(const AliGenStarLightEventHeader &s);
43 //
44 ClassDef(AliGenStarLightEventHeader, 1); // Event header for StarLight
45};
46#endif