]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Update in HP decoders:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Apr 2008 15:19:51 +0000 (15:19 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Apr 2008 15:19:51 +0000 (15:19 +0000)
Added:
A new high performance decoder for the MUON trigger detector (AliMUONTriggerDDLDecoder).
The corresponding stream interface class AliMUONRawStreamTriggerHP has been created
to interface the decoder with AliRoot.
Also added the abstract class AliMUONVRawStreamTrigger and made both AliMUONRawStreamTrigger
and AliMUONRawStreamTriggerHP inherit from that. This allows easy exchange of the decoders.

Bug fix:
AliMUONRawStreamTrackerHP was not working for mixtures of empty events and partial events. This is now fixed.

Minor changes:
Made some documentation corrections to AliMUONRawStreamTrackerHP.
Also added static methods to the AliMUONTrackerDDLDecoder to be able to read out the raw data structure key constants from other classes, similarly to what is now done in AliMUONTriggerDDLDecoder.

(Artur)

MUON/AliMUONVRawStreamTrigger.cxx [new file with mode: 0644]

diff --git a/MUON/AliMUONVRawStreamTrigger.cxx b/MUON/AliMUONVRawStreamTrigger.cxx
new file mode 100644 (file)
index 0000000..b652c43
--- /dev/null
@@ -0,0 +1,62 @@
+/**************************************************************************
+ * This file is property of and copyright by the ALICE HLT Project        *
+ * All rights reserved.                                                   *
+ *                                                                        *
+ * Primary Authors:                                                       *
+ *   Artur Szostak <artursz@iafrica.com>                                  *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
+/// \class AliMUONVRawStreamTrigger
+///
+/// This base class defines what interface all MUON trigger raw data decoders
+/// must implement. Thus all trigger decoders inherit from this class.
+/// This class is an abstract class.
+///
+/// \author Artur Szostak <artursz@iafrica.com>
+
+#include "AliMUONVRawStreamTrigger.h"
+#include "AliRawReader.h"
+#include <cassert>
+
+/// \cond CLASSIMP
+ClassImp(AliMUONVRawStreamTrigger)
+/// \endcond
+
+//___________________________________________
+AliMUONVRawStreamTrigger::AliMUONVRawStreamTrigger()
+       : AliMUONRawStream()
+{
+       ///
+       /// Create a base object to read MUON raw triggers
+       /// Default constructor for monitoring purposes.
+       ///
+}
+
+//_________________________________________________________________
+AliMUONVRawStreamTrigger::AliMUONVRawStreamTrigger(AliRawReader* rawReader)
+       : AliMUONRawStream(rawReader)
+{
+       ///
+       /// Constructor with AliRawReader as argument
+       /// for reconstruction purpose.
+       ///
+}
+
+//___________________________________
+AliMUONVRawStreamTrigger::~AliMUONVRawStreamTrigger()
+{
+       ///
+       /// Default destructor
+       ///
+}
+