#include <string>#include "PhysicsNtuple/AlgSnarl.h"Go to the source code of this file.
Namespaces | |
| namespace | Anp |
Classes | |
| class | Anp::SelectKinem |
Functions | |
| double | GetUVAssymForQES (const Event &event, const Record &record) |
|
||||||||||||
|
Definition at line 506 of file SelectKinem.cxx. References Anp::PrimaryShower(), Anp::Record::ShowerEnd(), and Anp::ShowerIter. 00507 {
00508 //
00509 // Get UV assymmetry of primary event shower
00510 //
00511
00512 const ShowerIter ishower = Anp::PrimaryShower(event, record);
00513 if(ishower == record.ShowerEnd())
00514 {
00515 return 0.0;
00516 }
00517
00518 const double uv_sum = (ishower -> GetBasic()).SigCorU() + (ishower -> GetBasic()).SigCorV();
00519 const double uv_dif = (ishower -> GetBasic()).SigCorU() - (ishower -> GetBasic()).SigCorV();
00520
00521 if(uv_sum > 0.0)
00522 {
00523 return uv_dif/uv_sum;
00524 }
00525
00526 return 0.0;
00527 }
|
1.3.9.1