]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
PWGPP-71 - Noise event outlier removal also on sector level. Propagate information...
authormivanov <marian.ivanov@cern.ch>
Wed, 29 Oct 2014 07:43:49 +0000 (08:43 +0100)
committermivanov <marian.ivanov@cern.ch>
Wed, 29 Oct 2014 07:43:49 +0000 (08:43 +0100)
STEER/ESD/AliESDEvent.cxx
STEER/ESD/AliESDEvent.h

index 02993adc491cb9e12ce7377be463f7ce380ee390..0a3652533e5911d89fb296c0553553641976d807 100644 (file)
@@ -177,6 +177,7 @@ AliESDEvent::AliESDEvent():
   fDAQDetectorPattern(0xFFFF),
   fDAQAttributes(0xFFFF)
 {
+  for (Int_t itype=0; itype<3; itype++) fTPCNoiseFilterCounter[itype]=0;
 }
 //______________________________________________________________________________
 AliESDEvent::AliESDEvent(const AliESDEvent& esd):
@@ -272,6 +273,8 @@ AliESDEvent::AliESDEvent(const AliESDEvent& esd):
   AddObject(fMuonPads);
   GetStdContent();
   ConnectTracks();
+  for (Int_t itype=0; itype<3; itype++) fTPCNoiseFilterCounter[itype]=esd. fTPCNoiseFilterCounter[itype];
+
 }
 
 //______________________________________________________________________________
index 4f8d359903b18b2b00e6ab3e539154c17eb85e40..92547daefc24ad0e8e0af7959b3085d4090e3318 100644 (file)
@@ -531,7 +531,8 @@ public:
   void SetDAQAttributes(UInt_t attributes) {fDAQAttributes = attributes;}
   UInt_t GetDAQDetectorPattern() const {return fDAQDetectorPattern;}
   UInt_t GetDAQAttributes() const {return fDAQAttributes;}
-  
+  Char_t GetTPCNoiseFilterCounter(UInt_t index) {return fTPCNoiseFilterCounter[index%3];};
+  void SetTPCNoiseFilterCounter(UInt_t index,UChar_t value) {fTPCNoiseFilterCounter[index%3]=value;};
 protected:
   AliESDEvent(const AliESDEvent&);
   static Bool_t ResetWithPlacementNew(TObject *pObject);
@@ -599,6 +600,7 @@ protected:
   ULong64_t fDetectorStatus; // set detector event status bit for good event selection
   UInt_t fDAQDetectorPattern; // Detector pattern from DAQ: bit 0 is SPD, bit 4 is TPC, etc. See event.h
   UInt_t fDAQAttributes; // Third word of attributes from DAQ: bit 7 corresponds to HLT decision 
+  UChar_t fTPCNoiseFilterCounter[3];  // filter counter [0]=sector, [1]-timebin/sector, [2]-padrowsector 
 
   ClassDef(AliESDEvent,23)  //ESDEvent class 
 };