1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerPixelHits.h,v 1.1 2009/09/25 08:42:27 loizides Exp $
|
3 |
//
|
4 |
// FillerPixelHits
|
5 |
//
|
6 |
// Implementation of a filler to fill pixel hits into our mithep::PixelHit data structure.
|
7 |
//
|
8 |
// Authors: C.Loizides
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef MITPROD_TREEFILLER_FILLERPIXELHITS_H
|
12 |
#define MITPROD_TREEFILLER_FILLERPIXELHITS_H
|
13 |
|
14 |
#include "MitAna/DataTree/interface/PixelHitFwd.h"
|
15 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
16 |
|
17 |
class TrackerGeometry;
|
18 |
|
19 |
namespace mithep
|
20 |
{
|
21 |
class FillerPixelHits : public BaseFiller
|
22 |
{
|
23 |
public:
|
24 |
FillerPixelHits(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
25 |
~FillerPixelHits();
|
26 |
|
27 |
void BookDataBlock(TreeWriter &tws,
|
28 |
const edm::EventSetup &es);
|
29 |
void FillDataBlock(const edm::Event &e,
|
30 |
const edm::EventSetup &es);
|
31 |
|
32 |
protected:
|
33 |
|
34 |
std::string edmName_; //edm name of pixel hits col
|
35 |
std::string mitName_; //mit name of pixel hits col
|
36 |
mithep::PixelHitArr *phits_; //array of pixel hits
|
37 |
};
|
38 |
}
|
39 |
#endif
|