#include <protoDUNE_dEdx_calib.h>
Public Member Functions | |
protoDUNE_dEdx_calib (TTree *tree=0) | |
virtual | ~protoDUNE_dEdx_calib () |
virtual Int_t | Cut (Long64_t entry) |
virtual Int_t | GetEntry (Long64_t entry) |
virtual Long64_t | LoadTree (Long64_t entry) |
virtual void | Init (TTree *tree) |
virtual void | Loop (int hitplane, double norm_factor, double calib_factor) |
void | LoopLite (std::vector< double > &norm_factors, std::vector< std::vector< double >> &calib_factors, TFile &outfile) |
void | LoopMIP (std::vector< double > &norm_factors, std::vector< std::vector< double >> &calib_factors, TFile &outfile) |
virtual Bool_t | Notify () |
virtual void | Show (Long64_t entry=-1) |
void | GetEFMaps (TFile *ef) |
void | SetCaloMaps (const fhicl::ParameterSet &pset) |
Public Attributes | |
TTree * | fChain |
Int_t | fCurrent |
pointer to the analyzed TTree or TChain More... | |
Int_t | event |
current Tree number in a TChain More... | |
Double_t | evttime |
Int_t | run |
Int_t | subrun |
Int_t | year_month_date |
Int_t | hour_min_sec |
Int_t | cross_trks |
Int_t | stopping_trks |
Int_t | all_trks |
Int_t | unbroken_trks |
Float_t | trackthetaxz [30] |
Float_t | trackthetayz [30] |
Float_t | trkstartx [30] |
Float_t | trkstarty [30] |
Float_t | trkstartz [30] |
Float_t | trkendx [30] |
Float_t | trkendy [30] |
Float_t | trkendz [30] |
Float_t | trklen [30] |
Float_t | peakT_max [30] |
Float_t | peakT_min [30] |
Int_t | TrkID [30] |
Float_t | trkstartcosxyz [30][3] |
Float_t | trkendcosxyz [30][3] |
Int_t | ntrkhits [30][3] |
Float_t | trkdqdx [30][3][3000] |
Float_t | trkdedx [30][3][3000] |
Float_t | trkresrange [30][3][3000] |
Float_t | trkhitx [30][3][3000] |
Float_t | trkhity [30][3][3000] |
Float_t | trkhitz [30][3][3000] |
Float_t | trkpitch [30][3][3000] |
Float_t | dist_min [30] |
Int_t | adjacent_hits [30] |
Int_t | lastwire [30] |
Float_t | lastpeakt [30] |
Int_t | endtpc [30] |
TBranch * | b_event |
TBranch * | b_evttime |
TBranch * | b_run |
TBranch * | b_surbrun |
TBranch * | b_year_month_date |
TBranch * | b_hour_min_sec |
TBranch * | b_cross_trks |
TBranch * | b_stopping_trks |
TBranch * | b_all_trks |
TBranch * | b_unbroken_trks |
TBranch * | b_trackthetaxz |
TBranch * | b_trackthetayz |
TBranch * | b_trkstartx |
TBranch * | b_trkstarty |
TBranch * | b_trkstartz |
TBranch * | b_trkendx |
TBranch * | b_trkendy |
TBranch * | b_trkendz |
TBranch * | b_trklen |
TBranch * | b_peakT_max |
TBranch * | b_peakT_min |
TBranch * | b_TrkID |
TBranch * | b_trkstartcosxyz |
TBranch * | b_trkendcosxyz |
TBranch * | b_ntrkhits |
TBranch * | b_trkdqdx |
TBranch * | b_trkdedx |
TBranch * | b_trkresrange |
TBranch * | b_trkhitx |
TBranch * | b_trkhity |
TBranch * | b_trkhitz |
TBranch * | b_trkpitch |
TBranch * | b_dist_min |
TBranch * | b_adjacent_hits |
TBranch * | b_lastwire |
TBranch * | b_lastpeakt |
TBranch * | b_endtpc |
Private Member Functions | |
float | tot_Ef (float xval, float yval, float zval) |
Private Attributes | |
TH3F * | xneg |
TH3F * | yneg |
TH3F * | zneg |
TH3F * | xpos |
TH3F * | ypos |
TH3F * | zpos |
TFile * | fXFile |
TFile * | fYZFile |
std::vector< TH3F * > | pos_hists |
std::vector< TH3F * > | neg_hists |
Definition at line 19 of file protoDUNE_dEdx_calib.h.
protoDUNE_dEdx_calib::protoDUNE_dEdx_calib | ( | TTree * | tree = 0 | ) |
|
virtual |
|
virtual |
void protoDUNE_dEdx_calib::GetEFMaps | ( | TFile * | ef | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void protoDUNE_dEdx_calib::LoopLite | ( | std::vector< double > & | norm_factors, |
std::vector< std::vector< double >> & | calib_factors, | ||
TFile & | outfile | ||
) |
void protoDUNE_dEdx_calib::LoopMIP | ( | std::vector< double > & | norm_factors, |
std::vector< std::vector< double >> & | calib_factors, | ||
TFile & | outfile | ||
) |
|
virtual |
|
inline |
Definition at line 121 of file protoDUNE_dEdx_calib.h.
|
virtual |
|
private |
Int_t protoDUNE_dEdx_calib::adjacent_hits[30] |
Definition at line 60 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::all_trks |
Definition at line 35 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_adjacent_hits |
Definition at line 99 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_all_trks |
Definition at line 74 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_cross_trks |
Definition at line 72 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_dist_min |
Definition at line 98 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_endtpc |
Definition at line 102 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_event |
Definition at line 66 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_evttime |
Definition at line 67 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_hour_min_sec |
Definition at line 71 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_lastpeakt |
Definition at line 101 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_lastwire |
Definition at line 100 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_ntrkhits |
Definition at line 90 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_peakT_max |
Definition at line 85 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_peakT_min |
Definition at line 86 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_run |
Definition at line 68 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_stopping_trks |
Definition at line 73 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_surbrun |
Definition at line 69 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trackthetaxz |
Definition at line 76 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trackthetayz |
Definition at line 77 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkdedx |
Definition at line 92 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkdqdx |
Definition at line 91 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkendcosxyz |
Definition at line 89 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkendx |
Definition at line 81 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkendy |
Definition at line 82 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkendz |
Definition at line 83 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkhitx |
Definition at line 94 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkhity |
Definition at line 95 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkhitz |
Definition at line 96 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_TrkID |
Definition at line 87 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trklen |
Definition at line 84 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkpitch |
Definition at line 97 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkresrange |
Definition at line 93 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkstartcosxyz |
Definition at line 88 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkstartx |
Definition at line 78 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkstarty |
Definition at line 79 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_trkstartz |
Definition at line 80 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_unbroken_trks |
Definition at line 75 of file protoDUNE_dEdx_calib.h.
TBranch* protoDUNE_dEdx_calib::b_year_month_date |
Definition at line 70 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::cross_trks |
Definition at line 33 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::dist_min[30] |
Definition at line 59 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::endtpc[30] |
Definition at line 63 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::event |
current Tree number in a TChain
Definition at line 27 of file protoDUNE_dEdx_calib.h.
Double_t protoDUNE_dEdx_calib::evttime |
Definition at line 28 of file protoDUNE_dEdx_calib.h.
TTree* protoDUNE_dEdx_calib::fChain |
Definition at line 21 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::fCurrent |
pointer to the analyzed TTree or TChain
Definition at line 22 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 136 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 136 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::hour_min_sec |
Definition at line 32 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::lastpeakt[30] |
Definition at line 62 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::lastwire[30] |
Definition at line 61 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 138 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::ntrkhits[30][3] |
Definition at line 51 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::peakT_max[30] |
Definition at line 46 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::peakT_min[30] |
Definition at line 47 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 138 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::run |
Definition at line 29 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::stopping_trks |
Definition at line 34 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::subrun |
Definition at line 30 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trackthetaxz[30] |
Definition at line 37 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trackthetayz[30] |
Definition at line 38 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkdedx[30][3][3000] |
Definition at line 53 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkdqdx[30][3][3000] |
Definition at line 52 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkendcosxyz[30][3] |
Definition at line 50 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkendx[30] |
Definition at line 42 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkendy[30] |
Definition at line 43 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkendz[30] |
Definition at line 44 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkhitx[30][3][3000] |
Definition at line 55 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkhity[30][3][3000] |
Definition at line 56 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkhitz[30][3][3000] |
Definition at line 57 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::TrkID[30] |
Definition at line 48 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trklen[30] |
Definition at line 45 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkpitch[30][3][3000] |
Definition at line 58 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkresrange[30][3][3000] |
Definition at line 54 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkstartcosxyz[30][3] |
Definition at line 49 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkstartx[30] |
Definition at line 39 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkstarty[30] |
Definition at line 40 of file protoDUNE_dEdx_calib.h.
Float_t protoDUNE_dEdx_calib::trkstartz[30] |
Definition at line 41 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::unbroken_trks |
Definition at line 36 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 126 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 133 of file protoDUNE_dEdx_calib.h.
Int_t protoDUNE_dEdx_calib::year_month_date |
Definition at line 31 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 131 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 134 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 132 of file protoDUNE_dEdx_calib.h.
|
private |
Definition at line 135 of file protoDUNE_dEdx_calib.h.