+ /** Initialize the reconstructor. Here, we initialize the geometry
+ manager, and finds the local to global transformations from the
+ geometry. The calibration parameter manager is also
+ initialized (meaning that the calibration parameters is read
+ from CDB).
+ */
+ virtual void Init();
+ /** Flag that we can convert raw data into digits.
+ @return always @c true */
+ virtual Bool_t HasDigitConversion() const { return kTRUE; }
+ /** Convert raw data read from the AliRawReader @a reader into
+ digits. This is done using AliFMDRawReader and
+ AliFMDAltroReader. The digits are put in the passed TTree @a
+ digitsTree.
+ @param reader Raw reader.
+ @param digitsTree Tree to store read digits in. */
+ virtual void ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
+ /** Reconstruct one event from the digits passed in @a digitsTree.
+ The member function creates AliFMDRecPoint objects and stores
+ them on the output tree @a clusterTree. An FMD ESD object is
+ created in parallel.
+ @todo Make sure we get a vertex.
+ @param digitsTree Tree holding the digits of this event
+ @param clusterTree Tree to store AliFMDRecPoint objects in. */
+ virtual void Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
+ /** Not used */
+ virtual void Reconstruct(AliRawReader *, TTree*) const;
+ /** Put in the ESD data, the FMD ESD data. The object created by
+ the Reconstruct member function is copied to the ESD object.
+ @param digitsTree Tree of digits for this event - not used
+ @param clusterTree Tree of reconstructed points for this event
+ - not used.
+ @param esd ESD object to store data in.
+ */
+ virtual void FillESD(TTree* digitsTree, TTree* clusterTree,
+ AliESDEvent* esd) const;
+ /** Forwards to above member function */
+ virtual void FillESD(AliRawReader*, TTree* clusterTree,
+ AliESDEvent* esd) const;
+ /** Not used */
+ virtual void SetESD(AliESDEvent* esd) { fESD = esd; }
+ /** Set the noise factor
+ @param f Factor to use */
+ virtual void SetNoiseFactor(Float_t f=3) { fNoiseFactor = f; }
+ /** Set whether we should do angle correction or nor
+ @param use If true, do angle correction */
+ virtual void SetAngleCorrect(Bool_t use=kTRUE) { fAngleCorrect = use; }
+ /** Set whether we want to do diagnostics. If this is enabled, a
+ file named @c FMD.Diag.root will be made. It contains a set of
+ histograms for each event, filed in separate directories in the
+ file. The histograms are
+ @verbatim
+ diagStep1 Read ADC vs. Noise surpressed ADC
+ diagStep2 Noise surpressed ADC vs. calculated Energy dep.
+ diagStep3 Energy deposition vs. angle corrected Energy dep.
+ diagStep4 Energy deposition vs. calculated multiplicity
+ diagAll Read ADC vs. calculated multiplicity
+ @endverbatim
+ @param use If true, make the diagnostics file */
+ void SetDiagnose(Bool_t use=kTRUE) { fDiagnostics = use; }