////////////////////////////////////////////////////////////////////////
//
// Manager Class for Merging/Digitization
-//
+// This handles Merging and Digitisation of AliRoot events
// Author: Jiri Chudoba (CERN)
//
////////////////////////////////////////////////////////////////////////
class AliMergeCombi;
class AliRunLoader;
-static const Int_t kMaxStreamsToMerge = 4;
+#define MAXSTREAMSTOMERGE 4
class AliRunDigitizer: public TTask {
// which was merged to create output event event
Int_t GetInputEventNumber(Int_t event, Int_t input) const;
- AliStream * GetInputStream(const Int_t index) const { return dynamic_cast<AliStream *>(fInputStreams->At(index)) ; }
+ AliStream * GetInputStream(Int_t index) const { return dynamic_cast<AliStream *>(fInputStreams->At(index)) ; }
// return pointer to particle with index i (index with mask)
TParticle* GetParticle(Int_t i, Int_t event) const;
TParticle* GetParticle(Int_t i, Int_t input, Int_t event) const;
// return TString with input file name
- TString GetInputFileName(const Int_t input, const Int_t order) const;
+ TString GetInputFileName(Int_t input, Int_t order) const;
- Int_t GetDebug() const {return fDebug;}
- void SetDebug(Int_t level) {fDebug = level;}
-
private:
void Copy(TObject& dig) const;
Bool_t ConnectInputTrees();
void FinishEvent();
void FinishGlobal();
- Int_t fkMASK[kMaxStreamsToMerge]; //! masks for track ids from
+ Int_t fkMASK[MAXSTREAMSTOMERGE]; //! masks for track ids from
// different source files
Int_t fkMASKSTEP; // step to increase MASK for
// each input file
TArrayI fCombination; //! combination of events from
TString fCombinationFileName; // fn with combinations (used
// with type 2 of comb.)
- Int_t fDebug; //! specifies debug level, 0 is min
AliRunLoader* GetOutRunLoader();
static const TString fgkDefOutFolderName;//default name for output foler
static const TString fgkBaseInFolderName;//default name for input foler
- ClassDef(AliRunDigitizer,5)
+ ClassDef(AliRunDigitizer,6)
};
#endif // ALIRUNDIGITIZER_H