//______________________________________________________________________
ClassImp(AliITSTrigger)
////////////////////////////////////////////////////////////////////////
-//
-// Version 1
-// Modified by D. Elia, C. Jorgensen
-// March 2006
-//
-// Version 0
-// Written by J. Conrad, E. Lopez Torres
-// October 2005
-//
-// AliITSTrigger: implementation of the SPD Fast-OR based triggers.
-//
+// //
+// Version 1 //
+// Modified by D. Elia, C. Jorgensen //
+// March 2006 //
+// //
+// Version 0 //
+// Written by J. Conrad, E. Lopez Torres //
+// October 2005 //
+// //
+// AliITSTrigger: implementation of the SPD Fast-OR based triggers. //
+// //
////////////////////////////////////////////////////////////////////////
//______________________________________________________________________
AliITSTrigger::AliITSTrigger()
- : AliTriggerDetector()
-{
- SetName("ITS");
- CreateInputs();
+ : AliTriggerDetector(),
+fGlobalFOThreshold(1),
+fHighMultFOThreshold(150){
+
+ //standard constructor
+ SetName("ITS");
+ CreateInputs();
- // set parameters to define trigger condition thresholds
- fGlobalFOThreshold = 1;
- fHighMultFOThreshold = 100;
+ // set parameters to define trigger condition thresholds
+ //fGlobalFOThreshold = 1;
+ //fHighMultFOThreshold = 150;
}
//______________________________________________________________________
AliITSgeom* geom = loader->GetITSgeom();
loader->LoadDigits("READ");
TTree *treeD = loader->TreeD();
+ if (!treeD) return;
TObjArray *digDet = 0;
digDet = new TObjArray(3);
Int_t ndigitsInChip[5];
// loop over modules (ladders)
- for (Int_t moduleIndex=startSPD; moduleIndex<lastSPD; moduleIndex++) {
+ for (Int_t moduleIndex=startSPD; moduleIndex<lastSPD+1; moduleIndex++) {
treeD->GetEvent(moduleIndex);
TClonesArray* digits = (TClonesArray*) (digDet->At(0)); // SPD only.
// // Int_t iFOperchip[ntotal]; // not used
// Int_t iFOperChipinStave[20][40][2];
-// for (Int_t m=startSPD;m<lastSPD;m++) {
+// for (Int_t m=startSPD;m<lastSPD+1;m++) {
// iFOperladder[m] = 0;
// }
// Int_t checkStave = 0;
// // loop over modules
-// for (Int_t moduleIndex=startSPD; moduleIndex<lastSPD; moduleIndex++) {
+// for (Int_t moduleIndex=startSPD; moduleIndex<lastSPD+1; moduleIndex++) {
// treeD->GetEvent(moduleIndex);
// TClonesArray* digits = (TClonesArray*) (digDet->At(0)); // SPD only.