fL1JetPatches(),
fL1Region(),
fL1GammaThreshold(0),
-fL1JetThreshold(0)
+fL1JetThreshold(0),
+fL1V0(),
+fL1FrameMask(0),
+fL1TriggerType(),
+fL1DataDecoded(0),
+fL1RawData(0)
{
- //
+ // Ctor
+
for (Int_t i = 0; i < 2; i++)
{
fL0Patches[i] = new TClonesArray("AliEMCALTriggerPatch");
for (Int_t i = 0; i < 32; i++) for (Int_t j = 0; j < 24; j++) for (Int_t k = 0; k < 4; k++) fL0Region[i][j][k] = 0;
for (Int_t i = 0; i < 2; i++) for (Int_t j = 0; j < 48; j++) for (Int_t k = 0; k < 64; k++) fL1Region[i][j][k] = 0;
+
+ fL1V0[0] = fL1V0[1] = 0;
+ for (Int_t i = 0; i < 8; i++) fL1TriggerType[i] = 0;
}
//_____________
AliEMCALTriggerData::~AliEMCALTriggerData()
{
- //
+ // Dtor
+
for (Int_t i = 0; i < 2; i++)
{
if ( fL0Patches[i]) fL0Patches[i]->Delete();
//_____________
void AliEMCALTriggerData::SetL0Region(Int_t i, const Int_t**& region)
{
- //
+ // L0 region
+
if (i < 0 || i > 31)
{
AliError("Bad index!");
//_____________
void AliEMCALTriggerData::GetPatches(TriggerType_t type, Int_t i, TClonesArray& patches) const
{
- //
+ // List of patches
+
if (i < 0 || i > 1)
{
AliError("Bad index!");
//_____________
TClonesArray* AliEMCALTriggerData::GetPatches(TriggerType_t type, Int_t i) const
{
- //
+ // List of patches
+
if (i < 0 || i > 1)
{
AliError("Bad index!");
//_____________
void AliEMCALTriggerData::SetPatches(TriggerType_t type, Int_t i, const TClonesArray& patches)
{
- //
+ // Set list of patches
+
if (i < 0 || i > 1)
{
AliError("Bad index!");
//_____________
void AliEMCALTriggerData::SetL1Region(Int_t i, Int_t**& region)
{
- //
+ // Set L1 region
+
if (i < 0 || i > 1)
{
AliError("Bad index!");
//_____________
void AliEMCALTriggerData::GetL1Region(Int_t i, Int_t arr[][64]) const
{
- //
+ // Get L1 region
+
if (i < 0 || i > 1)
{
AliError("Bad index!");
//_____________
void AliEMCALTriggerData::Scan() const
{
- //
+ // Dump
+
TIterator* nP;
printf("L0:\n");
//_____________
void AliEMCALTriggerData::Reset()
{
- //
+ // Reset
+
for (Int_t i = 0; i < 2; i++)
{
if ( fL0Patches[i]) fL0Patches[i]->Delete();
}
for (Int_t i = 0; i < 2; i++) for (Int_t j = 0; j < 48; j++) for (Int_t k = 0; k < 64; k++) fL1Region[i][j][k] = 0;
+
+ fL1DataDecoded = 0;
}