]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliTriggerDetector.cxx
Possibility to propagate tracks to the DCA to the primary vertex at the AOD level...
[u/mrichter/AliRoot.git] / STEER / AliTriggerDetector.cxx
index ab7f2cc611ba6d335a6448f686b11ddddf58f93b..c90071ad36275e029de89d5418dc6208e8dd2dbc 100644 (file)
@@ -78,11 +78,17 @@ AliTriggerDetector::~AliTriggerDetector()
 }
 
 //_____________________________________________________________________________
-void AliTriggerDetector::CreateInputs(const TObjArray &inputs)
+void AliTriggerDetector::AssignInputs(const TObjArray &inputs)
 {
-   // Define the inputs to the Central Trigger Processor
-   // This is a dummy version 
-   
+  // Cross-check the trigger inputs provided by the detector trigger
+  // processor (TP) and the inputs defined in CTP
+  // a) If the input is defined in the TP, but not in CTP it
+  // will be generated but not used by CTP. It will be possibly stored
+  // in the detector raw data if the hardware allows this.
+  // b) If hte input is not defined in the TP, but is defined in CTP
+  // then a warning is issued and the CTP simulation is working
+  // with this input disabled.
    // Check if we have to create the inputs first
    if( fInputs.GetEntriesFast() == 0 ) {
      // Create the inputs that the detector can provide
@@ -149,7 +155,7 @@ void AliTriggerDetector::Trigger()
    AliWarning( Form( "Triggering dummy detector %s", GetName() ) );
 
    //  ********** Get Digits for the current event **********
-   AliRunLoader* runLoader = AliRunLoader::GetRunLoader();
+   AliRunLoader* runLoader = AliRunLoader::Instance();
    AliInfo( Form( "Event %d", runLoader->GetEventNumber() ) );
    
    TString loadername = GetName();