AliPhysics  vAN-20150630 (513c479)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTriggerSetupInfo.cxx
Go to the documentation of this file.
1 // $Id$
2 //
3 // Emcal particle trigger class, which can contain either
4 //
5 // Author: J.Kral
6 
8 #include "AliLog.h"
9 
10 //_________________________________________________________________________________________________
12  TNamed(),
13  fThresholds(),
14  fThresholdsSimple()
15 {
16  // Default constructor.
17  for( int i = 0; i < 4; i++ )
18  fThresholds[i] = -1;
19  for( int i = 0; i < 4; i++ )
20  fThresholdsSimple[i] = -1;
21 }
22 
23 
24 //_________________________________________________________________________________________________
26  TNamed(p)
27 {
28  // Copy constructor.
29  for( int i = 0; i < 4; i++ )
30  fThresholds[i] = p.fThresholds[i];
31  for( int i = 0; i < 4; i++ )
33 }
34 
35 //_________________________________________________________________________________________________
37 {
38  // Destructor.
39 }
40 
41 //_________________________________________________________________________________________________
43 {
44  // Assignment operator.
45 
46  if (this != &p) {
47  for( int i = 0; i < 4; i++ )
48  fThresholds[i] = p.fThresholds[i];
49  for( int i = 0; i < 4; i++ )
51  }
52 
53  return *this;
54 }
55 
56 //_________________________________________________________________________________________________
58  // cleaner
59  for( int i = 0; i < 4; i++ )
60  fThresholds[i] = -1;
61  for( int i = 0; i < 4; i++ )
62  fThresholdsSimple[i] = -1;
63 }
64 
AliEmcalTriggerSetupInfo & operator=(const AliEmcalTriggerSetupInfo &p)