-// void AliITSTrigger::GeometryTriggers(TObjArray* digDet, TTree* treeD, AliITSgeom* geom)
-void AliITSTrigger::GeometryTriggers()
-{
-
-// // const Int_t nlay = 2; // not used
-// // const Int_t nlad = 240; // not used
-// // const Int_t nstave = 40; // not used
-// // const Int_t ndet = 4; // not used
-// // const Int_t nchip = 5; // not used
-// // const Int_t ntotal = 1200;
-
-// Int_t ndigA[5];
-// Int_t iFOperlayer[2];
-// Int_t iFOperladder[240];
-// Int_t iFOperstave[40][2];
-// // Int_t iFOperchip[ntotal]; // not used
-// Int_t iFOperChipinStave[20][40][2];
-
-// for (Int_t m=startSPD;m<lastSPD+1;m++) {
-// iFOperladder[m] = 0;
-// }
-
-// for (Int_t k = 0;k<2;k++){
-// iFOperlayer[k] = 0;
-// for (Int_t o=0; o<40; o++) {
-// iFOperstave[o][k] = 0;
-// for (Int_t ich=0; ich<20; ich++) {
-// iFOperChipinStave[ich][o][k] = 0;
-// }
-// }
-// }
-
-// // nFO = 0.0;
-// Int_t mInStaveCounter = 0;
-// Int_t checkStave = 0;
-
-// // loop over modules
-// for (Int_t moduleIndex=startSPD; moduleIndex<lastSPD+1; moduleIndex++) {
-// treeD->GetEvent(moduleIndex);
-// TClonesArray* digits = (TClonesArray*) (digDet->At(0)); // SPD only.
-
-// Int_t lay, stav, det;
-// geom->GetModuleId(moduleIndex,lay,stav,det);
-
-// ndig = digits->GetEntriesFast();
-
-// for( Int_t l=0; l<5; l++ ) {
-// ndigA[l] = 0 ;
-// }
-// for( Int_t dig=0; dig<ndig; dig++) {
-// AliITSdigitSPD* dp = (AliITSdigitSPD*) digits->At(dig);
-// Int_t column = dp->GetCoord1();
-// // Int_t row = dp->GetCoord2();
-// Int_t chip = Int_t(column/32.);
-// ndigA[chip]++;
-// }
-
-// if (checkStave != stav) {
-// mInStaveCounter = 0;
-// } else {
-// mInStaveCounter += 1;
-// }
-
-// // m 0,.., 239
-// // stav 1,..,40
-// // mInStave 0,..,3
-// // chipInStave 0,..,19
-
-// //cout << "m " << m << " stav " << stav << " mInStave " << mInStaveCounter << " " <<lay << endl;
-
-// for (Int_t ichip=0; ichip<5; ichip++) {
-// //Int_t seq = (m*5+ichip);
-// Int_t chipInStave = (mInStaveCounter *5) + ichip;
-
-// if (ndigA[ichip] >= 1) {
-// iFOperladder[moduleIndex]++;
-// iFOperlayer[lay-1]++;
-// iFOperstave[stav-1][lay-1]++;
-// //iFOperHstave[hstav-1][lay-1]++;
-// iFOperChipinStave[chipInStave][stav-1][lay-1]++;
-// // nFO++;
-// }
-// }
-// // SIMPLE FO ---> ANY HIT TRIGGERS
-// ndigfo += ndig;
-// checkStave = stav;
-// } // endl loop over SPD's
-
-
-
-// if ( ndigfo >= singhitthreshold ) {
-// // Set input GLOBAL FO
-// SetInput( "ITS_SPD_GFO_L0" );
-// // or SetInput( "0x01" );
-// // or ((AliTriggerInput*)fInputs.At(0))->Set();
-// // bit1 |= (1 << 1);
-// }