//-------------------------------------------------------------------------- // File and Version Information: // $Id: GqaSemileptonic.hh,v 1.18 2000/12/14 19:53:21 gowdy Exp $ // // Description: // Beta analysis to analys the Knunu truth from the // generator. This module makes a lot of plots that // can be used to study the performance of the event // event generators. // // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory. // // Author List: // Anders Ryd Original author // // Copyright Information: // //------------------------------------------------------------------------ #ifndef GQASemileptonic_HH #define GQASemileptonic_HH //---------------------- // Base Class Headers -- //---------------------- //#include "Framework/AppFilterModule.hh" #include "Framework/AppModule.hh" #include "Framework/AbsParmGeneral.hh" #include "Framework/AbsParmBool.hh" #include "Framework/AbsParmDouble.hh" #include "Framework/AbsParmString.hh" #include "AbsParm/AbsParmIfdStrKey.hh" #include "BetaCoreTools/BtaBooster.hh" //#include "BetaCoreTools/BtaThrust.hh" #include "BetaCoreTools/BtaPrintTree.hh" //------------------------------------ // Collaborating Class Declarations -- //------------------------------------ class HepTupleManager; class HepHistogram; class HepTuple; // --------------------- // -- Class Interface -- // --------------------- class GqaSemileptonic : public AppModule { //-------------------- // Instance Members -- //-------------------- public: // Constructors GqaSemileptonic( const char* const theName, const char* const theDescription ); // Destructor virtual ~GqaSemileptonic( ); // Operations virtual AppResult beginJob( AbsEvent* anEvent ); virtual AppResult event( AbsEvent* anEvent ); virtual AppResult endJob ( AbsEvent* anEvent ); protected: // Tcl commands: AbsParmIfdStrKey _eventInfoList; // key for getting EventInfo AbsParmIfdStrKey _btaTruthList; // key for getting truth BtaCandidates //AbsParmIfdStrKey _btaTruthMap; AbsParmBool _applyBoost; // boost to CM for most histograms AbsParmIfdStrKey _pepCollisionKey; // key for getting PepCollision AbsParmBool _makeNtuple; // make ntuple or not AbsParmGeneral _numPrintEvents; // # of events to print decay trees BtaPrintTree _printTree; // Prints the decay trees // define "local" variables to store from event to event // see the "begin" method for a discussion of these HepTuple * _analysisTuple; BtaBooster _booster; int _evtNum; // event counter }; #endif