createTriggerDescriptor_MUON() { // create Trigger Descriptor for MUON standalone // macro inspired from STEER/createTriggerDescriptor_*.C // May 2006, Ch. Finck AliTriggerDescriptor descrip( "MUON", "Standalone Trigger for MUON" ); // Define a Cluster Detector descrip.AddDetectorCluster( "MUON" ); // only MUON // 1 descrip.AddCondition( "MUON_SPlus_LPt_L0", "MUON_SPlus_LPt_L0", "Muon Plus Low Pt", (ULong64_t)0x1 ); // 10 descrip.AddCondition( "MUON_SPlus_HPt_L0", "MUON_SPlus_HPt_L0", "Muon Plus High Pt", (ULong64_t)0x1 << 1 ); // 100 descrip.AddCondition( "MUON_SPlus_All_L0", "MUON_SPlus_All_L0", "Muon Plus All Pt", (ULong64_t)0x1 << 2 ); // 1000 descrip.AddCondition( "MUON_SMinus_LPt_L0", "MUON_SMinus_LPt_L0", "Muon Minus Low Pt", (ULong64_t)0x1 << 3 ); // 10000 descrip.AddCondition( "MUON_SMinus_HPt_L0", "MUON_SMinus_HPt_L0", "Muon Minus High Pt", (ULong64_t)0x1 << 4 ); // 100000 descrip.AddCondition( "MUON_SMinus_All_L0", "MUON_SMinus_All_L0", "Muon Minus All Pt", (ULong64_t)0x1 << 5 ); // 1000000 descrip.AddCondition( "MUON_SUndef_LPt_L0", "MUON_SUndef_LPt_L0", "Muon Undefined sign Low Pt", (ULong64_t)0x1 << 6 ); // 10000000 descrip.AddCondition( "MUON_SUndef_HPt_L0", "MUON_SUndef_HPt_L0", "Muon Undefined sign High Pt", (ULong64_t)0x1 << 7 ); // 100000000 descrip.AddCondition( "MUON_SUndef_All_L0", "MUON_SUndef_All_L0", "Muon Undefined sign All Pt", (ULong64_t)0x1 << 8 ); // 1000000000 descrip.AddCondition( "MUON_Unlike_LPt_L0", "MUON_Unlike_LPt_L0", "Di Muon Unlike sign Low Pt", (ULong64_t)0x1 << 9 ); // 10000000000 descrip.AddCondition( "MUON_Unlike_HPt_L0", "MUON_Unlike_HPt_L0", "Di Muon Unlike sign High Pt", (ULong64_t)0x1 << 10 ); // 100000000000 descrip.AddCondition( "MUON_Unlike_All_L0", "MUON_Unlike_All_L0", "Di Muon Unlike sign All Pt", (ULong64_t)0x1 << 11 ); // 1000000000000 descrip.AddCondition( "MUON_Like_LPt_L0", "MUON_Like_LPt_L0", "Di Muon Like sign Low Pt", (ULong64_t)0x1 << 12 ); // 10000000000000 descrip.AddCondition( "MUON_Like_HPt_L0", "MUON_Like_HPt_L0", "Di Muon Like sign High Pt", (ULong64_t)0x1 << 13 ); // 100000000000000 descrip.AddCondition( "MUON_Like_All_L0", "MUON_Like_All_L0", "Di Muon Like sign All Pt", (ULong64_t)0x1 << 14 ); cout << endl << endl; if( !descrip.CheckInputsConditions("Config.C") ) { cerr << "\n ERROR: There are some problems on descriptor definition..." << endl; return; } cout << endl << endl; cout << "************************************************************" << endl; cout << "New Trigger descriptor" << endl; cout << "************************************************************" << endl; descrip.Print(); // save the descriptor to file descrip.WriteDescriptor(); cout << endl << endl << endl; cout << "************************************************************" << endl; cout << "Available Trigger descriptors" << endl; cout << "************************************************************" << endl; // Get and print all available descriptors TObjArray* desc = AliTriggerDescriptor::GetAvailableDescriptors(); if( !desc || !desc->GetEntriesFast() ) { cerr << "Not descriptors availables" << endl; return; } Int_t ndesc = desc->GetEntriesFast(); for( Int_t j=0; jAt(j); de->Print(); } }