Fork me on GitHub

Changeset f4900ab in git for modules


Ignore:
Timestamp:
Nov 19, 2020, 6:43:59 PM (4 years ago)
Author:
Stephen Sekula <sekula@…>
Parents:
66cf877
Message:

Implement EIC dualRICH code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/EICPIDDetector.cc

    r66cf877 rf4900ab  
    5151#include "pid/mRICH/src/mRICH.h"
    5252#include "pid/tofBarrel/src/tofBarrel.h"
     53#include "pid/dRICH/dualRICH.h"
    5354
    5455#include <algorithm>
     
    129130  }
    130131  else if (fDetectorName == "mRICH") {
    131     fPIDDetector = new mRICH(fTrackResolution,fTimeResolution, fPixelSize);
     132    fPIDDetector = new mRICH(fTrackResolution,fTimeResolution, fPixelSize, fetaLow, fetaHigh);
    132133    //fPIDDetector = new mRICH(0.00175, 1, 3);
    133134  }
     
    137138  else if (fDetectorName == "tofBarrel") {
    138139    fPIDDetector = new tofBarrel(100, fetaLow, fetaHigh, 10);
     140  }
     141  else if (fDetectorName == "dualRICH_aerogel") {
     142    fPIDDetector = new dualRICH_aerogel();
     143  }
     144  else if (fDetectorName == "dualRICH_C2F6") {
     145    fPIDDetector = new dualRICH_C2F6();
    139146  } else {
    140147    std::cout << "No valid EIC PID Detector technology was specified!" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.