CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripCommissioningSeedFilter.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: SiStripCommissioningSeedFilter
4 // Class: SiStripCommissioningSeedFilter
5 //
13 //
14 // Original Author: Christophe DELAERE
15 // Created: Fri Jan 18 12:17:46 CET 2008
16 // $Id: SiStripCommissioningSeedFilter.cc,v 1.1 2008/07/07 16:24:08 delaer Exp $
17 //
18 //
19 
20 
21 // system include files
22 #include <memory>
23 #include <algorithm>
24 
25 // user include files
28 
29 
30 //
31 // constructors and destructor
32 //
34 {
35  //now do what ever initialization is needed
36  inputModuleLabel_ = iConfig.getParameter<edm::InputTag>( "InputModuleLabel" ) ;
37 }
38 
39 //
40 // member functions
41 //
42 
43 // ------------ method called on each new Event ------------
44 bool
46 {
47  using namespace edm;
48 
50  iEvent.getByLabel(inputModuleLabel_,seedcoll);
51  bool result = (*seedcoll).size()>0;
52  return result;
53 }
54 
T getParameter(std::string const &) const
SiStripCommissioningSeedFilter(const edm::ParameterSet &)
int iEvent
Definition: GenABIO.cc:243
tuple result
Definition: query.py:137
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:356
virtual bool filter(edm::Event &, const edm::EventSetup &)