Bug fix. Removed delete statement
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEv1.h
CommitLineData
b7b24482 1#ifndef ALIACORDEV1_H
2#define ALIACORDEV1_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id: AliACORDEv1.h,v 1.3 2007/08/18 08:40:00 hristov Exp $ */
7////////////////////////////////////////////////
8// Manager class for detector: ACORDEv1 //
9////////////////////////////////////////////////
10
11#include "AliACORDE.h"
12
13class AliACORDEv1 : public AliACORDE {
14public:
15 AliACORDEv1();
16 AliACORDEv1(const char *name, const char *title);
bb09514c 17 virtual void AddAlignableVolumes() const;
18
b7b24482 19 virtual ~AliACORDEv1();
20
21 virtual TString Version() { return TString("v1"); }
22 virtual Int_t IsVersion() const { return 1; }
23 virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits);
bb09514c 24 virtual void AddDigits(Int_t* track, Int_t module, Float_t time);
25 virtual void MakeBranch(Option_t *option);
b7b24482 26 virtual void CreateGeometry();
27
28 virtual void Init();
b7b24482 29 virtual void StepManager();
30
31
32protected:
ee0da434 33
b7b24482 34 virtual void CreateAcorde();
35
36private:
37 AliACORDEv1(const AliACORDEv1& crt);
38 AliACORDEv1& operator=(const AliACORDEv1& crt);
39
40 ClassDef(AliACORDEv1,2) // Cosmic Ray Trigger (ACORDE).
41};
42
43typedef AliACORDEv1 AliCRTv1; // for backward compatibility
44
45#endif // ALIACORDEV1_H