CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelCalibDigiFilter.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: SiPixelCalibDigiFilter
4 // Class: SiPixelCalibDigiFilter
5 //
13 //
14 // Original Author: Evan Klose Friis
15 // Created: Tue Nov 6 16:59:50 CET 2007
16 // $Id: SiPixelCalibDigiFilter.cc,v 1.4 2010/08/10 09:06:13 ursl Exp $
17 //
18 //
19 
20 #include "SiPixelCalibDigiFilter.h"
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
35 
36 //
37 // constants, enums and typedefs
38 //
39 
40 //
41 // static data member definitions
42 //
43 
44 //
45 // constructors and destructor
46 //
48 {
49  //now do what ever initialization is needed
50 
51 }
52 
53 
55 {
56 
57  // do anything here that needs to be done at desctruction time
58  // (e.g. close files, deallocate resources etc.)
59 
60 }
61 
62 
63 //
64 // member functions
65 //
66 
67 // ------------ method called on each new Event ------------
68 bool
70 {
71  using namespace edm;
73  iEvent.getByLabel("SiPixelCalibDigiProducer", listOfDetIds);
74 
75  if (listOfDetIds->size() == 0)
76  return false;
77  else
78  return true;
79 }
80 
81 // ------------ method called once each job just before starting event loop ------------
82 void
84 {
85 }
86 
87 // ------------ method called once each job just after ending the event loop ------------
88 void
90 }
91 
92 // -- define this as a plug-in
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
int iEvent
Definition: GenABIO.cc:243
virtual bool filter(edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:356
SiPixelCalibDigiFilter(const edm::ParameterSet &)