JeffersonLab / hallc_replay

Replay directory for Hall C hcana
0 stars 59 forks source link

Update cuts on drift chambers and README #551

Open mrcmor100 opened 3 months ago

mrcmor100 commented 3 months ago

Update the script and/or readme to focus attention on hard coded cuts. CALIBRATION/dc_calib/scripts/DC_calib.C, under void DC_calib::FitCardDriftTime():

    void DC_calib::FitCardDriftTime() {

            cout << "Entering FitCardDriftTime Method . . ." << endl;

             for (Int_t ip = 0; ip < NPLANES; ip++) {
                     cout << "Plane : " << ip << endl;

                     //Loop over DC cards
                     for (card = 0; card < plane_cards[ip]; card++) {

                     cout << "card: " << card << endl;

                     tZero_fit = new TF1("tZero_fit", "[0]*x + [1]",

wireFitRangeLow[ip][card], wireFitRangeHigh[ip][card]);

                    //ENTER CUSTOM FIT PARAMETER (example below)
                    /* if (ip == 0 && card == 0){ tZero_fit = new TF1("tZero_fit", "[0]*x +

[1]", 85, 105); } */

This was determined based on XEM2 analysis by Zoe W