prova
isGain inserted
adding comments
merged ZNtupleDumper gain switch
added gainSwitch flags to ntuple