]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
TRD supply for tender (A. Bercuci)
authorjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Nov 2009 17:05:20 +0000 (17:05 +0000)
committerjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Nov 2009 17:05:20 +0000 (17:05 +0000)
PWG1/PWG1LinkDef.h
PWG1/libPWG1.pkg
PWG1/tender/AliTenderSupplyTRD.cxx [new file with mode: 0644]
PWG1/tender/AliTenderSupplyTRD.h [new file with mode: 0644]

index 36571fb95ef413999e903235b612481bade3c78e..13690b47d02302c555e12390619286533aa0d654 100644 (file)
@@ -62,6 +62,7 @@
 #pragma link C++ class AliAnalysisTaskITSTPCalignment+;
 
 // TRD performance classes
 #pragma link C++ class AliAnalysisTaskITSTPCalignment+;
 
 // TRD performance classes
+#pragma link C++ class  AliTenderSupplyTRD+;
 #pragma link C++ class  AliTRDclusterInfo+;
 #pragma link C++ class  AliTRDv0Info+;
 #pragma link C++ class  AliTRDtrackInfo+;
 #pragma link C++ class  AliTRDclusterInfo+;
 #pragma link C++ class  AliTRDv0Info+;
 #pragma link C++ class  AliTRDtrackInfo+;
index c3cd9c53731c16f1e9499e2081486ef2603dcd4f..ff787d445ea9b738da658be2b3499cb47d989406 100644 (file)
@@ -2,6 +2,7 @@
 
 ORGSRCS  := $(wildcard PWG1/*.cxx)
 ORGSRCS  += $(wildcard PWG1/global/*.cxx)
 
 ORGSRCS  := $(wildcard PWG1/*.cxx)
 ORGSRCS  += $(wildcard PWG1/global/*.cxx)
+ORGSRCS  += $(wildcard PWG1/tender/*.cxx)
 ORGSRCS  += $(wildcard PWG1/ITS/*.cxx)
 ORGSRCS  += $(wildcard PWG1/TPC/*.cxx)
 ORGSRCS  += $(wildcard PWG1/TRD/*.cxx)
 ORGSRCS  += $(wildcard PWG1/ITS/*.cxx)
 ORGSRCS  += $(wildcard PWG1/TPC/*.cxx)
 ORGSRCS  += $(wildcard PWG1/TRD/*.cxx)
@@ -11,7 +12,7 @@ SRCS:= $(patsubst PWG1/%, %, ${ORGSRCS})
 HDRS:= $(SRCS:.cxx=.h)
 DHDR:= PWG1LinkDef.h
 
 HDRS:= $(SRCS:.cxx=.h)
 DHDR:= PWG1LinkDef.h
 
-EINCLUDE:= STEER TPC ITS TRD
+EINCLUDE:= STEER TPC ITS TRD ANALYSIS/Tender
 
 ifeq (win32gcc,$(ALICE_TARGET))
 PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) -lSTEERBase \
 
 ifeq (win32gcc,$(ALICE_TARGET))
 PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) -lSTEERBase \
diff --git a/PWG1/tender/AliTenderSupplyTRD.cxx b/PWG1/tender/AliTenderSupplyTRD.cxx
new file mode 100644 (file)
index 0000000..6182543
--- /dev/null
@@ -0,0 +1,52 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * 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.                  *
+ **************************************************************************/
+
+////////////////////////////////////////////////////////////////////
+// Correct ESD-TRD info based on better calibration
+// - PID recalculation for new gain calibrations
+//
+// Author : Alexandru Bercuci <A.Bercuci@gsi.de>
+//
+////////////////////////////////////////////////////////////////////
+
+#include "AliTenderSupplyTRD.h"
+
+
+ClassImp(AliTenderSupplyTRD)
+
+//_________________________________________________________________
+AliTenderSupplyTRD::AliTenderSupplyTRD()
+  : AliTenderSupply("TRD", NULL)
+{
+// Default constructor
+}
+
+//_________________________________________________________________
+void AliTenderSupplyTRD::Init()
+{
+// Link TRD specific info
+
+}
+
+//_________________________________________________________________
+void AliTenderSupplyTRD::ProcessEvent()
+{
+// Apply the following corrections
+//  - PID
+//  - ...
+
+
+}
+
diff --git a/PWG1/tender/AliTenderSupplyTRD.h b/PWG1/tender/AliTenderSupplyTRD.h
new file mode 100644 (file)
index 0000000..bc407ad
--- /dev/null
@@ -0,0 +1,38 @@
+#ifndef ALITENDERSUPPLYTRD_H
+#define ALITENDERSUPPLYTRD_H
+
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id: AliTenderSupplyTRD.h 34521 2009-09-01 13:21:10Z abercuci $ */
+// Author: Alexandru Bercuci, 15/11/2009
+
+////////////////////////////////////////////////////////////
+//
+// Correct ESD TRD info based on up-to-date calibration
+//
+////////////////////////////////////////////////////////////
+
+
+#ifndef ALITENDERSUPPLY_H
+#include "AliTenderSupply.h"
+#endif
+
+class AliTenderSupplyTRD : public AliTenderSupply
+{
+public:
+  AliTenderSupplyTRD();
+
+  virtual   ~AliTenderSupplyTRD(){}
+  void      Init();
+  void      ProcessEvent();
+
+private:
+  AliTenderSupplyTRD(const AliTenderSupplyTRD &ref);
+  AliTenderSupplyTRD& operator=(const AliTenderSupplyTRD &ref);
+
+  ClassDef(AliTenderSupplyTRD,1)  // tender for TRD detector
+};
+
+#endif
+