AliPhysics  80ccde44 (80ccde44)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalTriggerDecision.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 /*
16  * Object storing the result of the EMCAL trigger decision. The result is appended to the
17  * input event and can be read out by consumer tasks.
18  *
19  * Author: Markus Fasel
20  */
21 
23 #include "AliEMCALTriggerPatchInfo.h"
24 
26 
27 //______________________________________________________________________________
29  TNamed(),
30  fMainPatch(NULL),
31  fSelectionCuts(NULL),
32  fAcceptedPatches()
33 {
34  /*
35  * Dummy constructor, needed for I/O, not to be used by the user
36  */
37  fAcceptedPatches.SetOwner(kFALSE);
38 }
39 
40 //______________________________________________________________________________
42  TNamed(name, title),
43  fMainPatch(NULL),
44  fSelectionCuts(NULL),
45  fAcceptedPatches()
46 {
47  /*
48  * The main (named) constructor. The decision object can be read out later by the consumer
49  * task according to the name.
50  *
51  * @param name: Name of the decision object
52  * @param title: Title of the decision object
53  */
54  fAcceptedPatches.SetOwner(kFALSE);
55 }
56 
57 //______________________________________________________________________________
58 void AliEmcalTriggerDecision::AddAcceptedPatch(AliEMCALTriggerPatchInfo * const acceptedPatch){
59  /*
60  * Add accepted patch to the trigger decision
61  *
62  * @param patch: the accepted patch
63  */
64  fAcceptedPatches.Add(acceptedPatch);
65 }
const char * title
Definition: MakeQAPdf.C:27
void AddAcceptedPatch(AliEMCALTriggerPatchInfo *const acceptedPatch)