factor out passPhotonTrigger
remove commented trigger selection
factor out passPhtonSelection
factor out initHistograms
add phopt
add phoeta
add r9