Changeset 6351
- Timestamp:
- 02/10/05 14:49:21 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
r6343 r6351 35 35 #include "TArrayC.h" 36 36 #include "TObjArray.h" 37 37 38 38 #include "MTrigger.hxx" 39 39 #include "MFadc.hxx" … … 61 61 #include "MGeomPix.h" 62 62 #include "MGeomCorsikaCT.h" 63 #include "MTriggerPattern.h" 63 64 64 65 /*!@" … … 2277 2278 EvtHeader[iconcount]-> 2278 2279 FillHeader( (UInt_t) (ntshow + nshow),0); 2279 2280 EvtHeader[iconcount]-> 2281 SetTriggerPattern((UInt_t)MTriggerPattern::kTriggerLvl1); 2280 2282 // fill pixel information 2281 2283 if (Lev1 || Write_All_Images){ … … 2534 2536 EvtHeader[ict] 2535 2537 ->FillHeader ( (UInt_t) (ntshow + nshow) , 0 ) ; 2536 2538 EvtHeader[ict]->SetTriggerPattern((UInt_t)MTriggerPattern::kTriggerLvl1); 2539 2537 2540 // fill pixel information 2538 2541 … … 4698 4701 EvtHeader[ict]->FillHeader((UInt_t) calevent, 0); 4699 4702 4703 // Set flag to indicate this is a calibration or a pedestal run: 4704 if (phot_per_pix > 1.e-3) 4705 { 4706 EvtHeader[ict]->SetTriggerPattern((UInt_t)(MTriggerPattern::kCalibration | 4707 MTriggerPattern::kTriggerLvl1)); 4708 // 4709 // FIXME! For now color and intensity of the pulser is fixed! 4710 EvtHeader[ict]->SetCalibrationPattern((UInt_t)((BIT(11) | BIT(12))<<16)); 4711 } 4712 else // 0 cal. photons per pixel ==> pedestal run 4713 EvtHeader[ict]->SetTriggerPattern((UInt_t)MTriggerPattern::kPedestal); 4714 4715 4700 4716 McEvt[ict]->Fill( 0, 0, 0., -1.0, -1.0, -1.0, 0., 0., 0., 0., 0., 4701 4717 0., 0., 0., 0., 0., 0., 0., 0., … … 4966 4982 // 4967 4983 // $Log: not supported by cvs2svn $ 4968 // Revision 1.84 2004/12/15 01:56:39 MAGIC 4984 // Revision 1.85 2005/02/10 12:00:32 moralejo 4985 // 4986 // Changed call to EvtHeader[ict]->FillHeader in line 2535: second argument 4987 // was 20, and I set it now to 0. No idea why that was 20: like that, it was 4988 // setting a CL trigger pattern on all events (???!!!) 4989 // 4990 // Revision 1.84 2004/12/15 01:56:39 moralejo 4969 4991 // 4970 4992 // Added input card option pmt_jitter_ns to simulate the time jitter of
Note:
See TracChangeset
for help on using the changeset viewer.