1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerStripHits.h,v 1.1 2009/09/25 08:42:27 loizides Exp $
|
3 |
//
|
4 |
// FillerStripHits
|
5 |
//
|
6 |
// Implementation of a filler to fill strip hits into our mithep::StripHit data structure.
|
7 |
//
|
8 |
// Authors: C.Loizides
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef MITPROD_TREEFILLER_FILLERSTRIPHITS_H
|
12 |
#define MITPROD_TREEFILLER_FILLERSTRIPHITS_H
|
13 |
|
14 |
#include "MitAna/DataTree/interface/StripHitFwd.h"
|
15 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
16 |
|
17 |
class TrackerGeometry;
|
18 |
|
19 |
namespace mithep
|
20 |
{
|
21 |
class FillerStripHits : public BaseFiller
|
22 |
{
|
23 |
public:
|
24 |
FillerStripHits(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
25 |
~FillerStripHits();
|
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::StripHitArr *shits_; //array of strip hits
|
37 |
};
|
38 |
}
|
39 |
#endif
|