AliRoot Core  3dc7879 (3dc7879)
AliEMCALv1.h
Go to the documentation of this file.
1 #ifndef ALIEMCALV1_H
2 #define ALIEMCALV1_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 //_________________________________________________________________________
24 //_________________________________________________________________________
25 
26 
27 // --- ROOT system ---
28 class TClonesArray;
29 class TLorentzVector;
30 class TFile;
31 
32 // --- AliRoot header files ---
33 #include "AliEMCALv0.h"
34 
35 class AliEMCALv1 : public AliEMCALv0
36 {
37 
38 public:
39 
40  AliEMCALv1(void) ;
41  AliEMCALv1(const char *name, const char *title="", const Bool_t checkGeoAndRun = kTRUE) ;
42  virtual ~AliEMCALv1(void) ;
43 
44  using AliEMCALv0::AddHit;
45  virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
46  Int_t id, Float_t *hits, Float_t *p ) ;
47 
48  // Gives the version number
49  virtual Int_t IsVersion(void) const { return 1 ; }
50  virtual const TString Version(void) const { return TString("v1") ; }
51 
52  virtual void StepManager(void) ;
53  virtual void RemapTrackHitIDs(Int_t *map);
54  virtual void FinishPrimary();
55 
56  virtual void SetTimeCut(Float_t tc) { fTimeCut = tc ; }
57  virtual Float_t GetTimeCut() const { return fTimeCut ; }
58 
59 protected:
60 
61  Int_t fCurPrimary;
62  Int_t fCurParent;
63  Int_t fCurTrack;
64  Float_t fTimeCut;
65 
66 private:
67 
68  AliEMCALv1 (const AliEMCALv1 & emcal);
69  AliEMCALv1 & operator = (const AliEMCALv1 & /*rvalue*/);
70 
72  ClassDef(AliEMCALv1,9) ;
74 
75 };
76 
77 #endif // AliEMCALV1_H
Int_t fCurTrack
Current track.
Definition: AliEMCALv1.h:63
AliEMCALv1 & operator=(const AliEMCALv1 &)
virtual const TString Version(void) const
Definition: AliEMCALv1.h:50
EMCal simulation manager class v1.
Definition: AliEMCALv1.h:35
Float_t p[]
Definition: kNNTest.C:133
Int_t fCurParent
Current parent.
Definition: AliEMCALv1.h:62
AliTPCfastTrack * track
virtual Int_t IsVersion(void) const
Definition: AliEMCALv1.h:49
EMCal simulation manager class v0.
Definition: AliEMCALv0.h:39
virtual ~AliEMCALv1(void)
Destructor.
Definition: AliEMCALv1.cxx:75
Int_t fCurPrimary
Current primary track.
Definition: AliEMCALv1.h:61
Bool_t checkGeoAndRun
check or not the year to configure the detector
Definition: Config.C:97
virtual void RemapTrackHitIDs(Int_t *map)
Definition: AliEMCALv1.cxx:277
virtual Float_t GetTimeCut() const
Definition: AliEMCALv1.h:57
AliEMCALv1(void)
Default Constructor.
Definition: AliEMCALv1.cxx:42
virtual void FinishPrimary()
Reinitialize primary data members.
Definition: AliEMCALv1.cxx:302
Float_t fTimeCut
Cut to remove the background from the ALICE system.
Definition: AliEMCALv1.h:64
virtual void AddHit(Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy, Int_t id, Float_t *hits, Float_t *p)
Definition: AliEMCALv1.cxx:101
virtual void AddHit(Int_t, Int_t *, Float_t *)
See in AliEMCALv2.
Definition: AliEMCAL.h:46
virtual void StepManager(void)
Accumulates hits as long as the track stays in a tower.
Definition: AliEMCALv1.cxx:141
virtual void SetTimeCut(Float_t tc)
Definition: AliEMCALv1.h:56