CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/DQM/DataScouting/interface/AlphaTVarProducer.h

Go to the documentation of this file.
00001 #ifndef AlphaTVarProducer_h
00002 #define AlphaTVarProducer_h
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/Framework/interface/Event.h"
00006 #include "FWCore/Framework/interface/EDProducer.h"
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008 #include "FWCore/Utilities/interface/InputTag.h"
00009 
00010 #include "TLorentzVector.h"
00011 #include "DataFormats/METReco/interface/CaloMETFwd.h"
00012 
00013 #include <vector>
00014 
00015 class AlphaTVarProducer : public edm::EDProducer {
00016  public: 
00017   explicit AlphaTVarProducer(const edm::ParameterSet&);
00018   ~AlphaTVarProducer();
00019   virtual void produce(edm::Event&, const edm::EventSetup&);
00020 
00021  private:
00022   double CalcAlphaT(std::vector<TLorentzVector>);
00023   static double CalcHT(const std::vector<TLorentzVector>);
00024   static double CalcMHT(const std::vector<TLorentzVector>);
00025   static double deltaHt(const std::vector<double>&);
00026   static double alphaT(const double, const double, const double);
00027   
00028   
00029   edm::InputTag inputJetTag_; // input tag identifying product
00030 };
00031 
00032 #endif //AlphaTVarProducer_h