00001 #ifndef TBHodoActiveVolumeRawInfoProducer_H 00002 #define TBHodoActiveVolumeRawInfoProducer_H 00003 /* 00004 * \file TBHodoActiveVolumeRawInfoProducer.h 00005 * 00006 * $Id: TBHodoActiveVolumeRawInfoProducer.h,v 1.3 2007/04/08 03:37:31 wmtan Exp $ 00007 * 00008 */ 00009 00010 00011 #include "FWCore/Framework/interface/EDProducer.h" 00012 #include "DataFormats/Common/interface/EDProduct.h" 00013 #include "FWCore/Framework/interface/Event.h" 00014 #include "DataFormats/Common/interface/Handle.h" 00015 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00016 #include "FWCore/Framework/interface/ESHandle.h" 00017 #include "FWCore/Framework/interface/EventSetup.h" 00018 #include "FWCore/Framework/interface/MakerMacros.h" 00019 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00020 00021 #include "SimDataFormats/EcalTestBeam/interface/PEcalTBInfo.h" 00022 #include "TBDataFormats/EcalTBObjects/interface/EcalTBHodoscopePlaneRawHits.h" 00023 #include "TBDataFormats/EcalTBObjects/interface/EcalTBHodoscopeRawInfo.h" 00024 #include "Geometry/EcalTestBeam/interface/EcalTBHodoscopeGeometry.h" 00025 #include "SimDataFormats/EcalTestBeam/interface/HodoscopeDetId.h" 00026 #include "SimDataFormats/CaloHit/interface/PCaloHit.h" 00027 #include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h" 00028 00029 class TBHodoActiveVolumeRawInfoProducer: public edm::EDProducer{ 00030 00031 00032 public: 00033 00035 TBHodoActiveVolumeRawInfoProducer(const edm::ParameterSet& ps); 00036 00038 virtual ~TBHodoActiveVolumeRawInfoProducer(); 00039 00041 void produce(edm::Event & event, const edm::EventSetup& eventSetup); 00042 00043 private: 00044 00045 double myThreshold; 00046 00047 EcalTBHodoscopeGeometry * theTBHodoGeom_; 00048 }; 00049 00050 #endif