3 // Emcal particle trigger class, which can contain either
7 #include "AliEmcalTriggerSetupInfo.h"
10 //_________________________________________________________________________________________________
11 AliEmcalTriggerSetupInfo::AliEmcalTriggerSetupInfo() :
16 // Default constructor.
17 for( int i = 0; i < 4; i++ )
19 for( int i = 0; i < 4; i++ )
20 fThresholdsSimple[i] = -1;
24 //_________________________________________________________________________________________________
25 AliEmcalTriggerSetupInfo::AliEmcalTriggerSetupInfo(const AliEmcalTriggerSetupInfo &p) :
29 for( int i = 0; i < 4; i++ )
30 fThresholds[i] = p.fThresholds[i];
31 for( int i = 0; i < 4; i++ )
32 fThresholdsSimple[i] = p.fThresholdsSimple[i];
35 //_________________________________________________________________________________________________
36 AliEmcalTriggerSetupInfo::~AliEmcalTriggerSetupInfo()
41 //_________________________________________________________________________________________________
42 AliEmcalTriggerSetupInfo &AliEmcalTriggerSetupInfo::operator=(const AliEmcalTriggerSetupInfo &p)
44 // Assignment operator.
47 for( int i = 0; i < 4; i++ )
48 fThresholds[i] = p.fThresholds[i];
49 for( int i = 0; i < 4; i++ )
50 fThresholdsSimple[i] = p.fThresholdsSimple[i];
56 //_________________________________________________________________________________________________
57 void AliEmcalTriggerSetupInfo::Clean(){
59 for( int i = 0; i < 4; i++ )
61 for( int i = 0; i < 4; i++ )
62 fThresholdsSimple[i] = -1;