}
//__________________________________________________________________________
-Int_t AliAODHeader::FindIRIntInteractionsBXMap(Int_t difference)
+Int_t AliAODHeader::FindIRIntInteractionsBXMap(Int_t difference) const
{
//
// The mapping is of 181 bits, from -90 to +90
}
//__________________________________________________________________________
-Int_t AliAODHeader::GetIRInt2ClosestInteractionMap()
+Int_t AliAODHeader::GetIRInt2ClosestInteractionMap() const
{
//
// Calculation of the closest interaction
}
//__________________________________________________________________________
-Int_t AliAODHeader::GetIRInt1ClosestInteractionMap(Int_t gap)
+Int_t AliAODHeader::GetIRInt1ClosestInteractionMap(Int_t gap) const
{
//
// Calculation of the closest interaction
}
//__________________________________________________________________________
-Int_t AliAODHeader::GetIRInt2LastInteractionMap()
+Int_t AliAODHeader::GetIRInt2LastInteractionMap() const
{
//
// Calculation of the last interaction
void SetT0spread(Int_t i, Float_t t) {
if ((i>=0)&&(i<kT0SpreadSize)) fT0spread[i]=t;}
- Int_t FindIRIntInteractionsBXMap(Int_t difference);
+ Int_t FindIRIntInteractionsBXMap(Int_t difference) const;
void SetIRInt2InteractionMap(TBits bits) { fIRInt2InteractionsMap = bits; }
void SetIRInt1InteractionMap(TBits bits) { fIRInt1InteractionsMap = bits; }
- TBits GetIRInt2InteractionMap() { return fIRInt2InteractionsMap; }
- TBits GetIRInt1InteractionMap() { return fIRInt1InteractionsMap; }
- Int_t GetIRInt2ClosestInteractionMap();
- Int_t GetIRInt1ClosestInteractionMap(Int_t gap = 3);
- Int_t GetIRInt2LastInteractionMap();
+ TBits GetIRInt2InteractionMap() const { return fIRInt2InteractionsMap; }
+ TBits GetIRInt1InteractionMap() const { return fIRInt1InteractionsMap; }
+ Int_t GetIRInt2ClosestInteractionMap() const;
+ Int_t GetIRInt1ClosestInteractionMap(Int_t gap = 3) const;
+ Int_t GetIRInt2LastInteractionMap() const;
private :
}
//__________________________________________________________________________
-void AliESDHeader::SetIRInteractionMap()
+void AliESDHeader::SetIRInteractionMap() const
{
//
// Function to compute the map of interations
}
//__________________________________________________________________________
-Int_t AliESDHeader::FindIRIntInteractionsBXMap(Int_t difference)
+Int_t AliESDHeader::FindIRIntInteractionsBXMap(Int_t difference) const
{
//
// The mapping is of 181 bits, from -90 to +90
}
//__________________________________________________________________________
-Int_t AliESDHeader::GetIRInt2ClosestInteractionMap()
+Int_t AliESDHeader::GetIRInt2ClosestInteractionMap() const
{
//
// Calculation of the closest interaction
}
//__________________________________________________________________________
-Int_t AliESDHeader::GetIRInt1ClosestInteractionMap(Int_t gap)
+Int_t AliESDHeader::GetIRInt1ClosestInteractionMap(Int_t gap) const
{
//
// Calculation of the closest interaction
}
//__________________________________________________________________________
-Int_t AliESDHeader::GetIRInt2LastInteractionMap()
+Int_t AliESDHeader::GetIRInt2LastInteractionMap() const
{
//
// Calculation of the last interaction
TString GetFiredTriggerInputs() const;
Bool_t IsTriggerInputFired(const char *name) const;
const AliTriggerConfiguration* GetCTPConfig() const { return fCTPConfig;}
- void SetIRInteractionMap();
- Int_t FindIRIntInteractionsBXMap(Int_t difference);
- TBits GetIRInt2InteractionMap() { SetIRInteractionMap(); return fIRInt2InteractionsMap; }
- TBits GetIRInt1InteractionMap() { SetIRInteractionMap(); return fIRInt1InteractionsMap; }
- Int_t GetIRInt2ClosestInteractionMap();
- Int_t GetIRInt1ClosestInteractionMap(Int_t gap = 3);
- Int_t GetIRInt2LastInteractionMap();
+ Int_t FindIRIntInteractionsBXMap(Int_t difference) const;
+ TBits GetIRInt2InteractionMap() const { SetIRInteractionMap(); return fIRInt2InteractionsMap; }
+ TBits GetIRInt1InteractionMap() const { SetIRInteractionMap(); return fIRInt1InteractionsMap; }
+ Int_t GetIRInt2ClosestInteractionMap() const;
+ Int_t GetIRInt1ClosestInteractionMap(Int_t gap = 3) const;
+ Int_t GetIRInt2LastInteractionMap() const;
//**************************************************************************
ULong64_t GetTriggerMask() const {return fTriggerMask;}
enum {kNTriggerInputs = 60}; //24 L0, 24 L1 and 12 L2 inputs
+private:
+ void SetIRInteractionMap() const;
+
private:
// Event Identification
TObjArray fTriggerInputsNames;// Array of TNamed of the active trigger inputs (L0,L1 and L2)
AliTriggerConfiguration* fCTPConfig; // Trigger configuration for the run
TObjArray fIRBufferArray;// Array with interaction records before and after triggered event
- TBits fIRInt2InteractionsMap; // map of the Int2 events (normally 0TVX) near the event, that's Int2Id-EventId within -90 +90 BXs
- TBits fIRInt1InteractionsMap; // map of the Int1 events (normally V0A&V0C) near the event, that's Int1Id-EventId within -90 +90 BXs
+ mutable TBits fIRInt2InteractionsMap; // map of the Int2 events (normally 0TVX) near the event, that's Int2Id-EventId within -90 +90 BXs
+ mutable TBits fIRInt1InteractionsMap; // map of the Int1 events (normally V0A&V0C) near the event, that's Int1Id-EventId within -90 +90 BXs
ClassDef(AliESDHeader,11)