PamCut: CollectionActions/FluxHistoAction/FluxHistoAction.h Source File

- Main Page
- Classes
- Files

- File List
- File Members

# CollectionActions/FluxHistoAction/FluxHistoAction.h

Go to the documentation of this file.

    00001 /*
    00002  * FluxHistoAction.h
    00003  *
    00004  *  Created on: 20-mag-2009
    00005  *      Author: Nicola Mori
    00006  */
    00007
    00010 #ifndef FLUXHISTOACTION_H_
    00011 #define FLUXHISTOACTION_H_
    00012
    00013 #include "../CollectionAction/CollectionAction.h"
    00014 #include <TH1I.h>
    00015 #include <stdint.h>
    00016
    00024 class FluxHistoAction: public CollectionAction {
    00025
    00026 public:
    00040   FluxHistoAction(const char *actionName, TString outFileBase, TString rigBinsFile);
    00041
    00043   ~FluxHistoAction() {
    00044   }
    00045
    00050   void OnGood(PamLevel2 *event);
    00051
    00057   void Finalize();
    00058
    00059 private:
    00060
    00061   TString _outFileBase;
    00062   vector<float> _bins;
    00063   TH1I _rootHisto;
    00064   vector<uint64_t> _textHisto;
    00065
    00066 #ifdef DEBUGPAMCUT
    00067   int _outUp, _outDown;
    00068 #endif
    00069
    00070 };
    00071
    00072 #endif /* FLUXHISTOACTION_H_ */